Skip to content

Conversation

denysoblohin-okta
Copy link
Contributor

@denysoblohin-okta denysoblohin-okta commented Nov 2, 2020

react-router v6 introduces breaking changes

  • <Route>s should be inside <Routes>
  • <Route exact> removed, so need to use * in path if it's not exact
  • <Route component> replaced to <Route element>

Issue: https://github.com/okta/okta-oidc-js/issues/853
Internal ref: https://oktainc.atlassian.net/browse/OKTA-318565

PR for okta-react: okta/okta-react#26

Warning! This PR uses react-router 6.0.0-beta.0 and should be revised after stable RR release. Do not merge.

@denysoblohin-okta denysoblohin-okta changed the title Support react-router v6 Migrate to react-router v6 Nov 2, 2020
@shuowu
Copy link
Contributor

shuowu commented Nov 2, 2020

Let's wait on the official react-router-dom v6 release to merge this PR.

@denysoblohin-okta denysoblohin-okta force-pushed the OKTA-318565-react-router-6 branch from 7a25732 to 6ae4878 Compare December 17, 2020 20:11
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