react-mlyn
constate
react-mlyn | constate | |
---|---|---|
3 | 4 | |
20 | 3,911 | |
- | - | |
3.2 | 3.6 | |
over 2 years ago | about 2 years ago | |
TypeScript | TypeScript | |
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-mlyn
-
Two-way binding will make your React code better.
For more examples on 2-way binding and mlyn visit react-mlyn repo.
-
Currency converter app in React and Mlyn
For more examples and docs about mlyn, I invite you to check the github repo page.
-
Proxy / Observable as property pattern in React
To solve everything described above I've a created library called mlyn. Within it you can create proxies, that can be lensed, subscribed and updated. And yeah, internally those proxies contains immutable objects, so none of react best practices are violated. How this app would look with mlyn:
constate
-
What are your favorite small utility packages?
Another one I like is https://github.com/diegohaz/constate, also <100 lines, but it makes contexts much easier to use. FB also uses mostly contexts for state management.
-
Top 10 Awesome React Hooks Libraries
Github
-
Awesome Things Related To React Hooks 😍
constate - React Context + State
-
Top 10 React Hooks Library
Constate hook provides lifting local state to React Context Level. So you can access/update state variables anywhere in the application with few lines of code. This is useful when you use the same state in multiple components. For example, you have Themes, Colors, Fonts used in multiple components, Users are allowed to change at one place and it should be reflected in the whole application. Package written in TypeScript and very compact.
What are some alternatives?
react-useportal - 🌀 React hook for Portals
react-recipes - 👩🍳 A list of React Hooks utility library containing popular customized hooks
react-notion-x - Fast and accurate React renderer for Notion. TS batteries included. ⚡️
use-query-params - React Hook for managing state in URL query parameters with easy serialization.
use-http - 🐶 React hook for making isomorphic http requests
state - 🚀 Tiny and powerful React hook-based state management library.
react-webcam - Webcam component
data-client - Async State Management without the Management
filepond - 🌊 A flexible and fun JavaScript file upload library
reakit - Toolkit for building accessible web apps with React
antd - An enterprise-class UI design language and React UI library
use-media - useMedia React hook to track CSS media query state