Hello guys! In this video, we will look at prefetching routes in Next.js. Prefetching means loading another route in the background so that when the user clicks on a link or when a transition is started, the transition is quick by populating already prefetched data. In this video we will dive deep into prefetching and see how things work.
If you liked the content and found it useful, make sure you support me by clicking the subscribe button and sharing this video with friends in need. 🤝
Links
Next.js documentation on prefetching - https://nextjs.org/docs/app/building-...
Bun website - https://bun.sh
Timestamps
0:00 - Introduction & Next.js docs
3:51 - Working with basic prefetching
11:58 - Prefetching just the layout and leave loading state alone
15:25 - Conclusion
Any suggestions? Leave in the comments below!
My links
E-mail - [email protected]
Blog - https://blog.atharva.codes
Latest Links - https://links.atharva.codes
Twitter - / athudeosthale
LinkedIn - / atharvadeosthale
#programming #programmer #javascript #nodejs #npm #reactjs #react #js #typescript #ts #nextjs #prefecthing #prefetch