formal

? Elegant form management primitives for the react hooks era.

  • Owner: kevinwolfcr/formal
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Problem

Working with forms on react can be a really repetitive task. Most of the existing abstractions provides a render props API and it is just not cool on the react hooks era.

Also, some of those packages does not provide out of the box support for both web and mobile platforms.

Solution

Formal is a cross-platform solution that exposes just the right primitives you need to manage your forms state and validations with ease.

Table of Contents

Usage

The usage of this package depends if you are using react web or react native.

Usage with React Web

For usage with React Web, refer to @kevinwolf/formal-web README.

Usage with React Native

For usage with React Native, refer to @kevinwolf/formal-native README.

Included packages, Name, Description, ----------------------------------------------------, -----------------------------------------------------------------------------------------, @kevinwolf/formal, ? Elegant form management primitives for the react hooks era., @kevinwolf/formal-web, ? Web extension for @kevinwolf/formal., @kevinwolf/formal-native, ? Native extension for @kevinwolf/formal., ## API Reference

For api reference, read this doc.

Examples and recipes

For more examples and specific recipes, visit the online storybook.

Articles / blog posts

? If you have written any blog post or article about Formal, please open a PR to add it here.

Contributors

Contributing

If you have any question, suggestion or recommendation, please open an issue about it.

If you decided you want to introduce something to the project, please read contribution guidelines first.

Other solutions

This is heavily inspired on formik, which currently does not support react hooks. If you are aware or maintain a similar solution, please let me know.

License

MIT

Main metrics

Overview
Name With Ownerkevinwolfcr/formal
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2019-03-20 22:04:06
Pushed At2020-08-08 16:26:52
Last Commit At2020-06-02 03:33:19
Release Count3
Last Release Namev0.1.3 (Posted on 2019-08-13 11:36:01)
First Release Namev0.1.0 (Posted on 2019-03-27 02:54:31)
用户参与
Stargazers Count1.1k
Watchers Count11
Fork Count43
Commits Count24
Has Issues Enabled
Issues Count52
Issue Open Count30
Pull Requests Count19
Pull Requests Open Count21
Pull Requests Close Count33
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private