fp-ts-form
v0.0.4
Published
Data type and combinators to build forms using fp-ts & React
Downloads
10
Maintainers
Readme
fp-ts-form v0.0.2
fp-ts port of Lumi's FormBuilder DSL
Installation
yarn add fp-ts-form
Source material
https://medium.com/fuzzy-sharp/building-a-type-safe-embedded-dsl-for-form-components-with-validation-e7ffaaf537e4
Package status
This package started as a PoC. Upon changing this to a package, a few expected features are missing:
- Documentation/Comments
- Tests
es6build
Examples
Firstly, add parcel globally to run the examples; yarn global add parcel-bundler
- Basic example:
parcel examples/basic/index.html - Wizard/Monad example:
parcel examples/wizard/index.html - (Todo) Dynamic inputs example
Do let us know if there are use cases you'd like to see examples of.
