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
Please provide a link to a minimal reproduction of the issue.
--
Steps to Reproduce the Bug or Issue
If open form via client side - it opens fine, but if refresh page - got error:
TypeError: Cannot read properties of null (reading 'useState')
at useState (/project/node_modules/remix-validated-form/node_modules/react/cjs/react.development.js:1622:21)
at useFormId (/project/node_modules/remix-validated-form/dist/index.cjs.js:1536:50)
at ValidatedForm (/project/node_modules/remix-validated-form/dist/index.cjs.js:1590:18)
at renderWithHooks (/project/node_modules/react-dom/cjs/react-dom-server.node.development.js:9488:16)
Expected behavior
Should refresh nornaly
Screenshots or Videos
No response
Platform
OS: macOS
Browser: Chrome
Version: 123
Additional context
No response
The text was updated successfully, but these errors were encountered:
Which packages are impacted?
remix-validated-form
@remix-validated-form/with-zod
@remix-validated-form/with-yup
zod-form-data
What version of these packages are you using?
remix-validated-form
: ^5.1.5@remix-validated-form/with-zod
: ^2.0.7Please provide a link to a minimal reproduction of the issue.
--
Steps to Reproduce the Bug or Issue
If open form via client side - it opens fine, but if refresh page - got error:
TypeError: Cannot read properties of null (reading 'useState')
at useState (/project/node_modules/remix-validated-form/node_modules/react/cjs/react.development.js:1622:21)
at useFormId (/project/node_modules/remix-validated-form/dist/index.cjs.js:1536:50)
at ValidatedForm (/project/node_modules/remix-validated-form/dist/index.cjs.js:1590:18)
at renderWithHooks (/project/node_modules/react-dom/cjs/react-dom-server.node.development.js:9488:16)
Expected behavior
Should refresh nornaly
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: