pathform
v0.0.2
Published
Pathform was built to scratch an itch for recursive, nested, dynamic forms. Using paths as an array, we can spread dynamic paths around like butter. With a path we can select and mutate values in the store.
Downloads
2
Readme
pathform
Pathform was built to scratch an itch for recursive, nested, dynamic forms. Using paths as an array, we can spread dynamic paths around like butter. With a path we can select and mutate values in the store.
Values in the store are either an object, array, or primitive. Objects and Arrays can have child items. Primitives are leaf nodes and do not have any children.
Quick Start
npm install --save react-pathform
TODO Checklist
- [ ] README: Quick Start
- [ ] README: API
- [ ] PERF: optimize or remove
lodash
anduuid
dependencies - [ ] provide example app
- [ ] FEAT:
reset
to defaults - [ ] FEAT:
handleSubmit
- [ ] PERF:
React.memo
re-rendering - [ ] PERF: reconsiliation events (touched, changed, error, etc) to minimize re-rendering
- [ ] circular reference protection
- [ ] icon / project branding