typed-react-form
typed-react-form copied to clipboard
A completely type-checked form builder for React
Typed React form
A completely type-checked form builder for React with Typescript
- ✔️ Type-checked: Make less errors, even field names are strongly typed.
- 🤔 Simple: A well documented, intuitive and easy to understand api.
- :fire: Fast: Only rerenders the fields that change if used correctly. This allows you to create huge forms.
- 📦 Pretty Small:
Install
npm install typed-react-form
Documentation here
Typescript demos
Type-checked field names

Type-checked custom inputs

Type-checked object/array fields

Javascript/typescript React
This library is built from the ground up for React with typescript, but it also works with with vanilla React, without enforced type checking.
Contributing
Contributions are welcome.
- Clone this repo.
- Install deps using
yarn. Yarn is required because of the resolutions field in package.json, npm does not support this. - Run
yarn start, this will watch source files insrc/and rebuild on change. - Open a new terminal and navigate to
testing/, runyarnandyarn startto start the testing application. - Done! When you edit source code, it will be rebuilt and update the testing application.
License
MIT © Stijn Rogiest