react-component / react-component/field-form
Error happens in useForm example
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 286
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 1
Description
Example: https://field-form-react-component.vercel.app/demo/use-form, open the codesandbox of this example, e.g: https://codesandbox.io/s/30i0lr
The error occurred during App initialization.
TypeError Cannot read properties of undefined (reading 'isBatchingLegacy')
Change the version of react-dom to 16.14.0 same with the react package, and the error is gone.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the useForm example and its linked CodeSandbox, then inspect the React and react-dom dependency versions. Reproduce the App initialization error and verify that matching 16.14.0 versions allow the example to load without the isBatchingLegacy TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100