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
Describe what's incorrect/missing in the documentation
There seems to be quite a bit of confusion about when and what exactly invokes the loaders in a react-router 6.4+ application. Many people seem to assume that it is the RouterProvider that invokes the loaders. However, it is createBrowserRouter which kicks off the loaders (as far as I understand it at least). I think this could be improved in the documentation so that it is easier to understand how to setup react-router with for example mock service worker and similar tools.
See this issue in the msw Github repo for context: mswjs/msw#1653
The text was updated successfully, but these errors were encountered:
Describe what's incorrect/missing in the documentation
There seems to be quite a bit of confusion about when and what exactly invokes the loaders in a react-router 6.4+ application. Many people seem to assume that it is the RouterProvider that invokes the loaders. However, it is createBrowserRouter which kicks off the loaders (as far as I understand it at least). I think this could be improved in the documentation so that it is easier to understand how to setup react-router with for example mock service worker and similar tools.
See this issue in the msw Github repo for context: mswjs/msw#1653
The text was updated successfully, but these errors were encountered: