Skip to content

Conversation

albertogasparin
Copy link
Collaborator

We currently have 4 router components, for no particular reason. They indeed support different features as they have been poorly updated across evolution. This is an initial step toward simplification.

Notable changes:

  • remove UniversalRouter and StaticRouter. Router now does what they did, passing the same props
  • MemoryRouter is now forced local, as persisted state cause more trouble than anything in tests
  • isStatic prop is gone, we detect node to skip isBrowserOnly resources

@albertogasparin albertogasparin force-pushed the tweak/cleanup-routers branch 2 times, most recently from da5cb34 to 07c0721 Compare April 2, 2022 06:12
@albertogasparin albertogasparin force-pushed the tweak/cleanup-routers branch from 07c0721 to 6dabf84 Compare April 2, 2022 06:22
liamqma
liamqma previously approved these changes Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants