React JS – Fetch Data from any API – Button Click / Component Mount

preview_player
Показать описание
In this video I show you how to fetch data with the React JS framework.

Timestamps
0:00 Intro
0:45 React Project Setup
3:56 Button Click Fetch
10:45 Component Mount Fetch
14:58 Wrap-up
Рекомендации по теме
Комментарии
Автор

great for someone who searches how to do only fetch in React. The point with callback and using it on the first mount was not hat clear, since it is not present in the end solution. Could you please tell more on that. If I understood right, if you would make in useEffect a dependency inside, you would need the callback to be used in order not to call by rerendering in a loop this useEffect, true ?

EugeniaVovc
Автор

Hi, your video and audio sync is off.

davidondiege