Limenius / liform-react

Generate forms from JSON Schema to use with React (& redux-form)
https://limenius.github.io/liform-react/
MIT License
174 stars 40 forks source link

Expose buildSyncValidation and compileSchema #44

Closed pseuyi closed 5 years ago

pseuyi commented 6 years ago

The <Liform/> component currently creates a new redux-form decorated <FinalForm/> on every render. This means that usage with a dynamic schema will cause unnecessary field registrations on every render. This can be avoided by exposing more utility functions that can be passed into a pre-existing redux-form decorated form component.