Fetching and Posting Data in React
Sam Meech-Ward Sam Meech-Ward
128K subscribers
4,802 views
157

 Published On Oct 3, 2022

Learn how to make network requests in a react app to fetch data on load, and post data when users submit a form.

https://www.sammeechward.com/fetching...

This is video #11 in my react series:

#10 useEffect Everything You Need To Know:    • React Hooks: useEffect - Everything Y...  

React Proxy | Easiest Fix to CORS Errors:    • React Proxy | Easiest Fix to CORS Errors  

Chapters:
0:00​ Intro
1:05 Fetch Data in useEffect
4:40 Error State
7:37 Loading State
9:55 Custom Hook
12:26 Suspense
13:49 Implementing Search
15:23 Race Condition
17:05 Abort Controller
19:22 Posting Form Data
22:44 Sharing State
27:54 Summary

Join this channel to get access to perks:
   / @sammeechward  

Code:
https://www.sammeechward.com/fetching...
https://github.com/Sam-Meech-Ward/net...


🔗Moar Links
My Website: https://www.sammeechward.com
Instagram:   / meech_ward  
Twitter:   / meech_ward  
Github: https://github.com/orgs/Sam-Meech-Ward

show more

Share/Embed