by asprouse · 7y ago · 0 comments
ShapeForm has several nice features that make it perfect for our use case, and may yours:
JSON Schema validation - Easily share the same form validation frontend and backend
️ Fast - Pure components for fast rendering even with large forms
Redux / Standalone state management - Choose your own adventure
Custom widgets - Widgets are simply React components
Form reducers - Useful for async validation, data normalization, the sky's the limit.
If you find ShapeForm useful or want to make it more useful I'd love for you to contribute to the project!
Any reason for not building around react-final-form as a basis? So far, I've found that one to be my favorite. Zero dependencies and tiny (especially compared with the alternatives).
https://github.com/final-form/react-final-form
I couldn't easily find a demo of your stuff, but one thing they've really gotten right is the renders for field updates...
https://final-form.org/docs/react-final-form/examples/subscr...