react-use-form-state
react-universal-hooks
react-use-form-state | react-universal-hooks | |
---|---|---|
1 | 1 | |
937 | 186 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-use-form-state
-
useState in forms
I know a lot of people are against people bringing up libraries here but I’ve found that if you have a large form or other render heavy stuff on the page it is worth using a library and I really like https://github.com/wsmd/react-use-form-state
react-universal-hooks
-
Why hooks are the best thing to happen to React
I don’t really understand the authors reasoning either. Classes in JavaScript are just sugar around functional closures.
In fact, you can use hooks inside of React component subclasses with a little fiddling [1].
The fact that the official react doesn’t support it is basically a design decision. It’s not impossible, but they just want to draw a clear line in the sand about how they think React code should be written.
1. https://www.npmjs.com/package/react-universal-hooks
What are some alternatives?
react-border-wrapper - A wrapper for placing elements along div borders.
react-find - Elegant, accessible search component for React.
react-use-promise - React hook for handling promises.
react-inlinesvg - An SVG loader component for ReactJS
use-metamask - a custom React Hook to manage Metamask in Ethereum ĐApp projects
react-godfather - "Look ma, no Hooks!"
react-hooks-compose - Decouple Hooks from the presentational components that use them
redux-search - Redux bindings for client-side search
use-modal-hook - 🚀 React hook for controlling modal components
tcomb-react - Alternative syntax for PropTypes
ReactCSS - :lipstick: Inline Styles in JS
redux-auth-patch - Complete token authentication system for react + redux that supports isomorphic rendering.