component-size
constate
component-size | constate | |
---|---|---|
1 | 4 | |
238 | 3,911 | |
0.0% | - | |
0.0 | 3.6 | |
over 1 year ago | about 2 years ago | |
JavaScript | 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.
component-size
-
Top 10 Awesome React Hooks Libraries
component-size React hook for determining the size of a component
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?
awesome-react-hooks - Awesome React Hooks
react-useportal - π React hook for Portals
react-hanger - A collection of useful React hooks
react-recipes - π©βπ³ A list of React Hooks utility library containing popular customized hooks
online-status - React Hook for Online status
react-notion-x - Fast and accurate React renderer for Notion. TS batteries included. β‘οΈ
usehooks - A collection of modern, server-safe React hooks βΒ from the ui.dev team
use-query-params - React Hook for managing state in URL query parameters with easy serialization.
use-debounce - A debounce hook for react
use-http - πΆ React hook for making isomorphic http requests
use-media - useMedia React hook to track CSS media query state
state - π Tiny and powerful React hook-based state management library.