Socket
Book a DemoInstallSign in
Socket

formstate-x

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formstate-x

Extended alternative for formstate

3.1.3
latest
Source
npmnpm
Version published
Weekly downloads
333
57.82%
Maintainers
5
Weekly downloads
 
Created
Source

formstate-x

Coverage Status

formstate-x is a tool to help you manage form state, based on MobX. formstate-x provides:

  • Composability: Forms are composition of inputs, complex inputs are composition of simpler inputs. With composability provided by formstate-x, you can build arbitrary complex forms or input components with maximal code reuse.
  • Type safety: With Typescript, no matter how complex or dynamic the form logic is, you can get type-safe result for value, error, validator, etc.
  • Reactive validation: With reactivity system of MobX, every dependency change triggers validation automatically and you can easily react to state change
  • UI-independent: formstate-x only deals with state / data, you can easily use it with any UI library you like

Documentation

You can find full documentation here.

Contributing

  • Fork the repo and clone the forked repo

  • Install dependencies

    npm i
    
  • Edit the code

  • Do lint & unit test

    npm run validate
    
  • Commit and push, then create a pull request

Keywords

form

FAQs

Package last updated on 22 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.