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/>.
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/>.