New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building forms with RDFS or ShEx #259
Comments
@linonetwo , I did a shex-form experiment and could generate validating forms from either a schema (form only) or the results of a validation (populated form). The folks at Janeiro are building a production form of this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
Create a form by writing JSON Schema: https://github.com/mozilla-services/react-jsonschema-form
So how about creating a form by writing RDFS or ShEx?
Proposal
Additional info
Currently, form frameworks like https://github.com/final-form/final-form, https://github.com/mozilla-services/react-jsonschema-form, and https://github.com/alibaba/uform are trying to extract logic (dependencies between fields and validation) out of View, and making data binding automatically (no need to write
onChange
).So I thought, hooks in this repo already make data binding automatically by requiring exact data type from backend, why not, in the same way, describe logic using universal typing, generating two-way data binding automatically.
Make creating a form as easy as writing styled-components.
The text was updated successfully, but these errors were encountered: