Don't Make This Data Fetching Mistake In React!
HTML-код
- Опубликовано: 12 июн 2024
- BE CAREFUL with how you load data in React. You could be drastically hurting your performance if you make this mistake.
Original Article from Sentry - blog.sentry.io/fetch-waterfal...
*Newsletter*
Newsletter 🗞 - www.jamesqquick.com/newsletter
*DISCORD*
Join the Learn Build Teach Discord Server 💬 - / discord
Follow me on Twitter 🐦 - / jamesqquick
Check out the Podcast - compressed.fm/
Courses - jamesqquick.com/courses
*QUESTIONS ABOUT MY SETUP*
Check out my Uses page for my VS Code setup, what recording equipment I use, etc. www.jamesqquick.com/uses
00:00 - Intro
00:30 - The Fetch Waterfall
02:00 - React Component Loading
03:50 - Fetching Data on the Server
05:50 - JavaScript Promise.all
07:30 - Data Loading in Next.js with React Server Components
09:10 - Wrap Up - Наука
Dear sir i have an error when i fetch post request that is INTERNAL SERVER ERROR 500? what is wrong?
Nice video❤ love your content
Thanks so much!
Nice video but Promise.all doesn't run promises in parallel, it runs them concurrently.
Yeah I always say the wrong one. People get really caught up in the difference between the two the two, but honestly, I don't think it makes much a difference. Wrong word, right concept.