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
Currently, action redirect is propagated back to client, then let it handle client side navigation again. It might be possible to skip this roundtrip by processing redirect internally and return flight render of new path.
(Also check what Next.js does.)
// TODO// action response stream renders `src/routes/contacts/[contactId]/page.tsx`// but contact doesn't exists anymore and server component throws,// which makes this redirect error to not caught by client// when users don't have custom error pagethrowredirect("/");
The text was updated successfully, but these errors were encountered:
Currently, action redirect is propagated back to client, then let it handle client side navigation again. It might be possible to skip this roundtrip by processing redirect internally and return flight render of new path.
(Also check what Next.js does.)
this part is fixed in another way
(see #530)
This also avoids confusing issues when redirecting after resource deletion like in this demo:
https://github.com/hi-ogawa/rsc-on-vite/blob/89303058e0b46799da581b42fdf5797aa52faa8a/remix-tutorial/src/routes/_action.ts#L13-L18
The text was updated successfully, but these errors were encountered: