Skip to content

Commit

Permalink
Make Router state immutable (#33925)
Browse files Browse the repository at this point in the history
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 #33919, which ensures that we only create a new router once per tree.
  • Loading branch information
devknoll committed Feb 7, 2022
1 parent 3be21c4 commit 81b537c
Showing 1 changed file with 113 additions and 71 deletions.

0 comments on commit 81b537c

Please sign in to comment.