Skip to content

[Docs]: Protected routes example using createBrowserRouter #10637

Description

@ratoi-crysty

Describe what's incorrect/missing in the documentation

Having that currently, this is the recommended way of using react-router, we need an example of how to protect the routes created with createBrowserRouter.

Currently, the only example for auth available, is the old one using JSX <BrowserRouter/> and <Route/>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions