Skip to content

An API to build, query, update, and bind formstate in React. Develop forms DRYly in React.

License

Notifications You must be signed in to change notification settings

dtrelogan/react-formstate-fp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-formstate-fp

An API to build, query, update, and bind formstate in React.

It's glue for your forms

With react-formstate-fp, and your choice of input components, you can assemble forms DRYly in React.

It solves the right problem to solve for React forms

By focusing on your form's data, and keeping you in control of your form's behavior, react-formstate-fp eliminates the busy work involved with React forms, without limiting you or getting in your way.

Setup

npm install --save react-formstate-fp

Demo

All examples demonstrated here.

Examples and documentation

Dependencies

  • A peer dependency on React >= 16.8 (React hooks).
  • @babel/runtime might be pulled in depending on how you build your project.

Basically no dependencies other than React.

Environment

  • Assumes an es5 environment (for example: Object.keys and Array.isArray).
  • Assumes es6 promises. (This is the only polyfill requirement beyond es5.)
  • Works with Typescript.

Thanks for your interest!

About

An API to build, query, update, and bind formstate in React. Develop forms DRYly in React.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published