Step 3 - Waterfalling problem
Course: NextJS (Client side) - chapter 3
Let’s say you built a blogging website in react, what steps do you think the request cycle takes?


- Fetching the index.html from the CDN
- Fetching script.js from CDN
- Checking if user is logged in (if not, redirect them to /login page)
- Fetching the actual blogs There are 4 round trips that happen one after the other (sequentially)
💡 The “waterfalling problem” in React, and more broadly in web development, refers to a scenario where data fetching operations are chained or dependent on each other in a way that leads to inefficient loading behavior.
What does nextjs provide you?
Section titled “What does nextjs provide you?”