When you submit a new message board thing, it doesn't redirect to that newly created thing after it's done.
I am returning a redirect
in the action, but that is now returned as a full response. How do I just get the relevant redirect data on the client, so the client can do the redirect?
Or is it better to send over the data from the server and skip another loader?
After forms are submitted, the data is still there in their pages. What's the idiomatic way to clear that in react router?
Right now each loader (ie if you have nested routes) makes a seperate fetch
call and I combine all their keys.
Ideally we should make a single loader call per navigation event, and set the internal router state, not that one loader's state.
The example uses query
which seems to skip the SSR piece and only to the loader/action piece, which is exactly what I'd want... if it worked for me.