Closed mamlzy closed 7 months ago
yepp, came here to say the same
@Skyleen77
meanwhile you can easily wrap it yourself with something like:
const router = useNextRouter()
const replace = React.useCallback(
(
href: string,
options?: NavigateOptions | undefined,
NProgressOptions?: NProgressOptions,
) => {
if (NProgressOptions?.showProgressBar !== false) {
NProgress.start()
}
return router.replace(href, options)
},
[router],
)
This will be added in the next version which is coming soon.
This will be added in the next version which is coming soon.
glad to hear that! I think you could close the issue after the feature is added
Hi thanks for this library, I think this library not implementing progress bar yet for the
replace
method? butpush
&back
already implemented here. am i correct?