nextjs-progressbar
nextjs-progressbar copied to clipboard
Disable NextProgress on fast changing static pages
Hello!
Is there a way to disable NextProgress when visiting pages that contain static content or were created with getStaticProps?
Navigating to those pages is so fast that I don't see the need to show the progress bar in those cases. Very similar to how it works in Gatsby.JS, where the progress bar is only shown when the request is taking time.
Thank you.
@robertocerdasilva I had the same problem so I made a fork that waits for a certain amount of time before showing the bar. It adds a debounce
prop. https://www.npmjs.com/package/@approximant/next-progress
You can pr this feature here too if u want
@eamonma thanks bud!
@eamonma Thank you so much! it's great
@eamonma Your great effort definitely needs to be submitted as a pull request to this library. Thanks man!