sandiiarov / formal

πŸ‘” Elegant form management primitives for the react hooks era.

Home Page:https://react-formal.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kevin Wolf formal

Watch on GitHub Star on GitHub Tweet!

Elegant form management primitives
for the react hooks era.

PRs Welcome All Contributors Build Status Code Coverage Greenkeeper

@kevinwolf/formal @kevinwolf/formal-web @kevinwolf/formal-native

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 do 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

Kevin Wolf
Kevin Wolf

πŸš‡ πŸ’» ⚠️ πŸ“–
Kent C. Dodds
Kent C. Dodds

πŸ€”
Emerson Laurentino
Emerson Laurentino

πŸ“–
Patrick Emmanuel
Patrick Emmanuel

⚠️
Adam Boro
Adam Boro

πŸ“–
Hilke Heremans
Hilke Heremans

πŸ› πŸ’»
Gabo Esquivel
Gabo Esquivel

πŸ›

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

About

πŸ‘” Elegant form management primitives for the react hooks era.

https://react-formal.netlify.com

License:MIT License


Languages

Language:JavaScript 98.0%Language:TypeScript 2.0%Language:HTML 0.0%