Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
Router
state immutable (vercel#33925)
Make the external `Router` state immutable, and make it so there's only one place (`set`) where it is changed and announced. This is to prepare for vercel#33919, which ensures that we only create a new router once per tree.
- Loading branch information