Does useRouter
from 'next/navigation'
return a stable reference?
#78303
Unanswered
DanielGiljam
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Can I rely on the
AppRouterInstance
returned byuseRouter
to always be the same object?As in:
behaves equivalently to:
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions