You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find it great that nextjs-toploader supports the Next.js push router, because modern Next.js apps use the router API frequently, and I suggest extending the support to include all Next.js router API, especially router.replace() (for query-param updates) and router.replace() for auth redirects.
Without loader support, the UX feels inconsistent, and developers do workarounds.
I’m happy to open a PR with the changes, just let me know!
I think supporting other router API will be by listening to all router navigation methods and firing the same start / complete handlers used for push.
FrontEnd07, octavian-regatun-amplified-software, sbetav, Jeto143 and Amin-baxXx