DEV Community

Cover image for 6 Approaches for Data Fetching in React

6 Approaches for Data Fetching in React

Charlie Carr on January 31, 2023

Outline Intro to Data Fetching in React Simple Explanation of JavaScript Promises Approach #1: Fetch API w/ Promise Methods Approach #2...
Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
tonyjimena profile image
tony j.

Very helpful but your not implementing the lastest recomendations for use useEffect on react 13 for data fetching, use the return for not overlapping requests.

beta.reactjs.org/reference/react/u...

Thanks for your post!

Collapse
 
kumarkalyan profile image
Kumar Kalyan

Great article @char_carr_dev

Collapse
 
samuel_marien profile image
Samuel Marien

Realy good article ! Thank for sharing.

Collapse
 
cristuker profile image
Cristian Magalhães

Great article

Collapse
 
fcolombo profile image
Freddy Colombo

Great article and very educational explanations.

Collapse
 
nirmal884 profile image
Nirmal

Really helpful thanks for sharing 🙂

Collapse
 
himanshubaghel07 profile image
Himanshu Baghel

Helpful

Collapse
 
dopamine0 profile image
Roee Fl

You forgot to mention swr.vercel.app/

Collapse
 
pcostamiguez profile image
Pedro Henrique Costa Miguez

Great job!