← All Blogs

Progress Bar in Next.js

29 July, 2021
~305 reads
Progress Bar in Next.js blog

Sometimes when you transition from one route to another, it takes a little time to do so due to different factors. Behind the scenes, it may be rendering a complex page component or doing an API call. In such cases, the app looks like it has frozen for some seconds and then suddenly transitions to the next route. This results in a poor UX. In such cases, it is better to add a progress bar to your application that gives your users a sense that something is loading.

In this tutorial, you'll learn how to implement a progress bar in a Next.js application.

Read the full blog on RavSam.

Thanks for reading 💜


I publish a monthly newsletter in which I share personal stories, things that I am working on, what is happening in the world of tech, and some interesting dev-related posts which I across while surfing on the web.

Connect with me through TwitterLinkedInGithub or send me an Email.

Ravgeet, Full Stack Developer and Technical Content Writer

📮 Join my newsletter

I share tips on how to get started with freelancing, remote jobs, developer-related stuff, startup ecosystem, and lots of insider secrets with my subscribers.

Subscribe →
🧠 More Interesting Reads
How I Built a Unified Calendar Dashboard with Next.js, Vercel Edge Functions & No Database
See all your tasks from ClickUp, Notion, and Google Calendar in one clean, fast, private dashboard
Custom Log Monitoring service using Google Apps Script
We can set up our own custom, serverless logging system using Google Apps Script and Google Docs which we can implement in our applications.
Improve Table Speed in React by Using Web Workers for Filters
Turbocharge your React tables by moving expensive filters off the main thread with Web Workers.