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
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:
UniversalRouter
andStaticRouter
.Router
now does what they did, passing the same propsMemoryRouter
is now forced local, as persisted state cause more trouble than anything in testsisStatic
prop is gone, we detect node to skipisBrowserOnly
resources