Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate Router component #145

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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

docs/router/ssr.md Outdated Show resolved Hide resolved
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