Promise.all can make your data fetching faster, but thing twice when using RSC or/and Next.js
๐๐ผ last video: https://youtu.be/wbdU0uDTQM4?si=vxZ4Ly8yufZUbiSm
๐ video specific links
๐จ๐ผโ๐ป code: https://github.com/tobiasmeyhoefer/yt-example/tree/promimse.all
The following suggestions are affiliate links, this means I earn a percentage if you buy :)
โ๏ธ my recording and editing tool: https://screen.studio/@r4EXX
๐จ๐ผโ๐ป Learn Frontend (20% Discount): https://scrimba.com/the-frontend-developer-career-path-c0j?via=tobitacklestech
_____________________________
๐๐ผโโ๏ธ find me also here:
github: https://github.com/tobiasmeyhoefer
my website: https://tobiasmeyhoefer.de/
_____________________________
โก๏ธ About me and this channel
Hello World! ๐๐ผ My name is Tobi and I'm a webdeveloper from Germany โจ On this channel you will find free educational content about everything related to the web, from frontend to backend especiall with React and Next.Js!
_____________________________
๐ Chapters:
0:00 What is a Promise
0:55 The Waterfall Effect
2:04 When to use Promise.all
3:30 The Problem of Promise.all
4:13 Promise.allSettled
5:19 When to not use Promise.all
_____________________________
#javascript #react #nextjs