How to add router progress bar in Next.js with one line of code 🤯
The pages in Next.js are lazy-loaded so if you fetch some API or fetch data from a database it can take a few seconds to reach the second page. So to let the user know that the page is being loaded we will add a progress bar at the top of the screen....
blog.avneesh.tech2 min read
Prashoon Bhattacharjee
13-year-old web and app developer!
This article helped me a lot! :)