Là một dự án mã nguồn mở, react-component/form đã đạt 1.8k sao trên GitHub, ngôn ngữ JavaScript. React High Order Form Component(web & react-native)
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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)
})} />
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/react-component/form là nguồn chính thức.
react-component/form có phải mã nguồn mở không?
Có — react-component/form phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/react-component/form.
react-component/form có trang demo không?
Dự án có trang chủ ở http://react-component.github.io/form/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
react-component/form dùng license gì?
react-component/form phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
react-component/form là gì?
react-component/form (react-component/form) là dự án JavaScript trên GitHub. Theo mô tả gốc: React High Order Form Component(web & react-native)
Đọc đầy đủ README ở tab phía trên.
Chưa chắc form có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về form.