react-universal-hooks
useSync
Our great sponsors
react-universal-hooks | useSync | |
---|---|---|
1 | 2 | |
186 | 3 | |
- | - | |
0.0 | 1.8 | |
over 1 year ago | almost 2 years 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-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
useSync
-
useSync feature update!
Now, I just released useSync v2.0.0, and I'm looking for more feedback. Here is the link: https://github.com/iMrDJAi/useSync.
- A minimal React hook to synchronize and share public state between different components. I wrote it when I had no idea about state management libraries. I believe that it's pointless to use Redux (for example) instead of my hook. I'm wondering if there are use-cases it can't cover. Any thoughts?
What are some alternatives?
react-find - Elegant, accessible search component for React.
resso - 🪢 The simplest React state manager
react-inlinesvg - An SVG loader component for ReactJS
use-modal-hook - 🚀 React hook for controlling modal components
redux-search - Redux bindings for client-side search
react-hook-layout - Layouts in React.
react-godfather - "Look ma, no Hooks!"
redux-auth-patch - Complete token authentication system for react + redux that supports isomorphic rendering.
catapult - Express JS addon for writing APIs
tcomb-react - Alternative syntax for PropTypes
klass - a utility for creating expressive classes in JavaScript
ClassManager - Fast and beautiful class system