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
^^^ Failing example here. Replacing <Form> with <form> does at least render the page
Error in console begins with:
index.tsx:861 Uncaught TypeError: Cannot read properties of undefined (reading 'route')
at useFormAction (index.tsx:861:15)
at useSubmitImpl (index.tsx:799:23)
at index.tsx:589:18
Expected Behavior
The form should load and allow submissions to the route's action
Actual Behavior
An exception is thrown which causes the whole app to disappear
The text was updated successfully, but these errors were encountered:
Hey @charliematters - thanks for the reproduction! This was actually a bug that was just fixed in #9735 and is currently available in 6.6.0-pre.0. I confirmed fixes the provided reproduction, so I'm going to close this out.
6.6.0 is the release that will finish up the React Router-ing Remix work so it might be in prerelease a bit longer than normal as we ensure we've worked out any last kinks on the Remix side. So the stable may be after the holidays but we'll see how this week goes :)
What version of React Router are you using?
6.4
Steps to Reproduce
https://stackblitz.com/edit/github-gkokwd-ogj8yk?file=src%2FApp.tsx
^^^ Failing example here. Replacing
<Form>
with<form>
does at least render the pageError in console begins with:
Expected Behavior
The form should load and allow submissions to the route's action
Actual Behavior
An exception is thrown which causes the whole app to disappear
The text was updated successfully, but these errors were encountered: