react-component/form — an open-source project — sits at 1.8k GitHub stars. React High Order Form Component(web & react-native)
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
props.form.validateFields enhancement, support scroll to the first invalid form field, scroll is the same as dom-scroll-into-view's function parameter config.
options.container: HTMLElement
Defaults to first scrollable container of form field(until document).
Notes
Do not use stateless function component inside Form component: https://github.com/facebook/react/pull/6534
you can not set same prop name as the value of validateTrigger/trigger for getFieldProps
<input {...getFieldProps('change',{
onChange: this.iWantToKnow // you must set onChange here or use getFieldDecorator to write inside <input>
})}>
you can not use ref prop for getFieldProps
<input {...getFieldProps('ref')} />
this.props.form.getFieldInstance('ref') // use this to get ref
or
<input {...getFieldProps('ref',{
ref: this.saveRef // use function here or use getFieldDecorator to write inside <input> (only allow function)
})} />
Yes — react-component/form ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/react-component/form.
What is react-component/form?
react-component/form (react-component/form) is a JavaScript project on GitHub. From the project's own README: React High Order Form Component(web & react-native)
What license does react-component/form use?
react-component/form is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where can I see react-component/form in action?
The project maintains a homepage at http://react-component.github.io/form/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about react-component/form?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/react-component/form is the definitive source.
Read full README in the tab above.
Is form worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of form.