pathform
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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.

explaining pathform to people who prefer other form libraries

Quick Start

npm install --save react-pathform

TODO Checklist

  • [ ] README: Quick Start
  • [ ] README: API
  • [ ] PERF: optimize or remove lodash and uuid 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

Readme

Keywords

none

Package Sidebar

Install

npm i pathform

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

179 kB

Total Files

17

Last publish

Collaborators

  • _ilovett