Movatterモバイル変換


[0]ホーム

URL:


⚠️

Security Update: npm classic token creation is now disabled. Existing classic tokens will be revoked onNovember 19, 2025. Migrate to trusted publishing or granular access tokens to avoid disruption.Learn more.

typed-react-form
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

Typed React form

NPMNPM Size

A completely type-checked form builder for React with Typescript

  • ✔️Type-checked: Make less errors, even field names are strongly typed.
  • 🤔Simple: A welldocumented, intuitive and easy to understand api.
  • 🔥Fast: Only rerenders the fields that change if used correctly. This allows you to create huge forms.
  • 📦Pretty Small:NPM Size

Install

npm install typed-react-form

Documentation here

Typescript demos

Type-checked field names

type-checked field names

Type-checked custom inputs

type-checked custom inputs

Type-checked object/array fields

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.

  1. Clone this repo.
  2. Install deps usingyarn. Yarn is required because of the resolutions field in package.json, npm does not support this.
  3. Runyarn start, this will watch source files insrc/ and rebuild on change.
  4. Open a new terminal and navigate totesting/, runyarn andyarn start to start the testing application.
  5. Done! When you edit source code, it will be rebuilt and update the testing application.

License

MIT ©Stijn Rogiest

Package Sidebar

Install

npm i typed-react-form

Weekly Downloads

1

Version

2.2.3

License

MIT

Unpacked Size

126 kB

Total Files

12

Last publish

Collaborators

  • codestix

[8]ページ先頭

©2009-2025 Movatter.jp