Alternative to Router singleton for app-router
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
hello guys, i'm really struggling to migrate my project to nextjs app-router because there's no singleton for router any more and i can't find a clean way of doing this within my redux listeners, for example i was listening for an action for
updateParamsInUrl
that was using Router from 'next/router'
and doing a Router.replace
but this is no longer possible what's the alternative here please help🙏