Open ryanflorence opened 1 year ago
What's the status on this? Specifically asking for ReactRouter because the root loader doesn't run first there and it seems like everyone using ReactRouter (personally as a stepping stone to Remix) is floundering (see https://github.com/remix-run/react-router/discussions/9327) on how to do authentication.
Is there any update on this? Authentication is probably the biggest use case.
My approach for this is:
However, I'm unable to find unstable_dataStrategy
in version 7.
@chasoft https://reactrouter.com/en/main/routers/create-browser-router#middleware
We do still need a way to be able to change dataStrategy using RR7 vite plugin though.
@infiniteluke Using the new routes.ts pattern, there is nothing similar to RRv6 handle
to set up middleware.