Skip to content

Update README documentation for <SecureRoute> incompatibility with React Router v6 #267

@gavinr-maps

Description

@gavinr-maps

Describe the bug

It was discussed here that <SecureRoute> cannot be used with React Router v6. This fact was confirmed by @jaredperreault-okta here, and Jared linked to this sample which does not use the <SecureRoute> component.

Based on the above, <SecureRoute> is not compatible with React Router v6. Given that React Router v6 has been out for almost 2 years, I think the documentation in this project's README should assume that users are using React Router v6 (and thus cannot use <SecureRoute> 😟). That involves:

  1. Updating this sample:
    image
  2. Updating the wording here
    image

Reproduction Steps?

See the README links above.

SDK Versions

n/a

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions