Re:Show HN: React Hook Form – Simple Form Validation
by mickael-kerjean on Wednesday October 09, 2019 @07:56AM
(#21202295)
There's a few people trying to build libraries (https://github.com/rjsf-team/react-jsonschema-form) but there ain't any magic bullet.
For this project (https://github.com/mickael-kerjean/filestash), I built my very own as no other library would work for what I wanted
Re:Show HN: React Hook Form – Simple Form Validation
by tiborsaas on Wednesday October 09, 2019 @08:51AM
(#21202669)
A friend of mine build a solution like this:
If I have a form anything more complex than a login page, then I usually use some kind of generator based on a schema.
Re:Show HN: React Hook Form – Simple Form Validation
by bluebill1049 on Wednesday October 09, 2019 @06:45PM
(#21208997)
interesting project! thanks for sharing
Re:Show HN: React Hook Form – Simple Form Validation
by softwarelimits on Wednesday October 09, 2019 @08:12AM
(#21202398)
I was not writing about a specific product but about a way to implement form generation. Most web frameworks come with the basic building blocks.
I think I have heard of something similar but it didn’t seem to have caught on in any major web frameworks that I know of (strongly typed json API server which generates runtime validators on frontend and backend). Even then most people want control over the presentation of the form and wouldn’t want to create fields from the schema (e.g. a number type is sometimes a slider and sometimes a drop down)