Skip to content

How do action redirects work? #1799

Closed Answered by sergiodxa
kristojorg asked this question in Q&A
Discussion options

You must be logged in to vote

The Form component receives the response with the redirect from the server and does a client-side navigation, unless you used the reloadDocument prop on the Form component.

If JS is disabled or not loaded, the Form will behave as a normal form tag and it will do a full page navigation which then will be redirected, in this case the browser handles everything.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kristojorg
Comment options

Answer selected by machour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants