why next 13 router.push() function is very slow can please help me out to make this router.
Unanswered
Masai Lion posted this in #help-forum
Masai LionOP
using router.push()
4 Replies
is it slower in development or production?
Chinese Chongqing Dog
It could be due to multiple reasons. It's difficult to tell exactly why without having analyzing the code or the environment.
For a start, you could use
For a start, you could use
router.prefetch()
beforehand.Masai LionOP
in dev
it is common for development server to be slow, create a production build and check there