Any particular reason to use Form with a Button vs Link #10890
Unanswered
VariabileAleatoria
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the start tutorial, the navigation to the edit page is accomplished by utilizing a Form that includes a submit button. Is there a specific rationale behind this choice? As far as I know, the documentation states that the advantage of using a Form versus a Link is that "Get submissions are the same as a normal navigation (user clicks a link) except the user gets to supply the search params that go to the URL from the form.", but no search parameters are provided in this case.
react-router/docs/start/tutorial.md
Line 314 in f9b3dbd
Beta Was this translation helpful? Give feedback.
All reactions