React.js - How to Fetch Data

06/24/20191 Min Read — In JavaScript, React.js

React.js - How to Fetch Data (feat. React Hooks, Render Props)

If you want to know more about data fetching with hooks, you can read these two articles, too: A Complete Guide to useEffect & How to fetch data with React Hooks?.

For a short video tutorial on useEffect, I recommend Ben Awad's video:

React Hooks useEffect Tutorial

Further Reading