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
When I submit the form route 'xxx/submit' correctly renders <div>AAA</div> inside the page at the same time I expected its action to be triggered and to see console logged ''App xxx AAA" instead action from parent route ('xxx/*') its triggered and "App xxx" its printed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, looking at docs I can't understand how do you set a form's action to a precise route.
Let me show an example:
index.js
and
AAA.js
When I submit the form route 'xxx/submit' correctly renders
<div>AAA</div>
inside the page at the same time I expected its action to be triggered and to see console logged ''App xxx AAA" instead action from parent route ('xxx/*') its triggered and "App xxx" its printed.I can't understand this.
Hope the example is clear.
thanks
Beta Was this translation helpful? Give feedback.
All reactions