react-dmodel

1.0.15 • Public • Published

react-dmodel

Exploit JSX syntax to define data models and auto generate form UI for it

JSX is a handy format to define structured data within Javascript. react-dmodel uses it to define data models (typed data structs) including validation and optional binary encoding. This allows auto generating forms for the data model and with binary encoding creating files or network messages with a given binary format.

To Do

  • [ ] Validation error for every input in FormModal instead of global
  • [ ] Deep nesting, fix forEachChildElementRecursive
  • [ ] Publish npm package
  • [ ] Support arrays
  • [ ] Immutable.js compatibility
  • [ ] Redux integration
  • [ ] React stub to use JSX without importing all of React
  • [ ] Complete test coverage
  • [ ] More examples

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i react-dmodel

    Weekly Downloads

    11

    Version

    1.0.15

    License

    MIT

    Unpacked Size

    94.4 kB

    Total Files

    54

    Last publish

    Collaborators

    • ungerik