I went and built another thing.
Long story short: I’ve tried out a few different form packages for React, and none of them stuck. All I had were a few requirements:
- Don’t make me spend an hour reading just to learn how to use it
- I shouldn’t have to keep a reference guide handy, either
- It should work with any UI framework: Bootstrap, Material UI, a custom solution, or just plain old HTML
- Make error reporting easy too, and make it “disconnected,” in that the errors can appear anywhere on my page and aren’t tied to the form input if I don’t want them to
- Be super simple—I get easily annoyed at over-engineered packages that ought to be simple
And so I built Formous, which meets all these requirements. It’s just a higher-order component. No Redux here (which IMO is overkill). You know there’s a bad trend occurring when the creator of Redux keeps having to advise people to really think about the architecture of their app before deciding to use Redux!
I didn’t have time to work on detailed docs yet, but I will. I did include an example which should cover everything you’d ever want to know. It’s a first release, and very beta, but it’s a decent start.