News for hackers. Stuff that matters.
Re:Show HN: Generate React forms from JSON form schemas by laurencerowe on Friday August 21, 2015 @05:43PM (#10100435)
See also tcomb-form [1] with it's tcomb-json-schema plugin [2].

We're currently using react-forms with a custom json-schema to react-forms schema conversion.

[1] https://github.com/gcanti/tcomb-form [2] https://github.com/gcanti/tcomb-json-schema

Re:Show HN: Generate React forms from JSON form schemas by hoodoof on Friday August 21, 2015 @05:45PM (#10100443)
Re:Show HN: Generate React forms from JSON form schemas by abhishivsaxena on Saturday August 22, 2015 @05:14PM (#10103787)
tcomb is one of the most wonderful projects I have come across, and it works beautifully with a serialiser like transit-js.

In some sense it enables your program to resemble a type system and be able to easily serialise it at runtime. Kind of similar to how games are written, I believe. And with tcomb-form you can easily have a ui layer as well.

Re:Show HN: Generate React forms from JSON form schemas by nutate on Friday August 21, 2015 @07:37PM (#10100892)
tcomb-form is the most elegant solution I've seen to this problem in React. Really nice to use.
Re:Show HN: Generate React forms from JSON form schemas by gcanti on Saturday August 22, 2015 @04:58AM (#10101982)
Hi, author here. Thanks for your kind words :)