You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syntax being used is the older version's approach, namely BrowserRouter. Instead there are newer approaches that support data API, such as createBrowserRouter:
* Clean out dead code
* Refactor Redirect component to separate file
* Refactor ProtectedRoute component into its own file
* First pass, rewriting route implementation- no auth/redirect handling yet
* Tweak sidebar a bit
* Tweak sidebar more
* New redirect/auth protection implementation
* Remove old code
* Restore loader while performing initial auth check
The syntax being used is the older version's approach, namely
BrowserRouter
. Instead there are newer approaches that support data API, such ascreateBrowserRouter
:https://reactrouter.com/6.28.0/routers/create-browser-router
The text was updated successfully, but these errors were encountered: