apal21 / nextjs-progressbar

A simple Next.js progressbar component using NProgress.

Home Page:https://www.npmjs.com/package/nextjs-progressbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Manual control

leephan2k1 opened this issue · comments

I want to implement the loading to notify the user that it is fetching.

During fetching unchanged route to trigger routeChangeStart.

I want to control it to load as soon as possible and stop when an error occurs, How to implement it like NProgress.start() and NProgress.done() ?

You can use #81 (comment) solution for now. I'm planning to export all the nprogress methods from this package. So you'll be able to use it without reinstalling.