How do action redirects work? #1799
-
When I create a form with a submit button and use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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.