hooks
constate
hooks | constate | |
---|---|---|
7 | 4 | |
13,354 | 3,911 | |
0.8% | - | |
8.5 | 3.6 | |
6 days 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.
hooks
-
Can't come to a conclusion if a component is pure or not. Please make me understand.
I re-read relevant documentation many times and am very aware of what purity means. I guess what's throwing me off is that every hook library uses such implementation of usePrevious: * react-hookz * ahooks * rooks
-
Alternative libs to migrate from React to Vue (or Vue to React)
ahooks
-
Common React Design patterns: Custom Hooks
react-use * βοΈ 29.6k / π½ 958k ahooks * βοΈ 9.1k / π½ 74k awesome-react-hooks * βοΈ 8.1k / π½ 74k usehooks-ts * βοΈ 1.6k / π½ 44k react-recipes * βοΈ 850 / π½ 1.2k react-hanger * βοΈ 1.8k / π½ 3.3k
-
ahooks 3.0 is coming! a high-quality and reliable React Hooks library!
Document: https://ahooks.js.orgβ
-
useLockFn δΈ useCallback ηη¨ι
ahooks εΊιι’ζδΈδΈͺ useLockFn
- Ahooks, React hooks library from Alibaba
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?
use-between - Sharing state between React components
react-useportal - π React hook for Portals
beautiful-react-hooks - π₯ A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development π₯
react-recipes - π©βπ³ A list of React Hooks utility library containing popular customized hooks
reactfire - Hooks, Context Providers, and Components that make it easy to interact with Firebase.
react-notion-x - Fast and accurate React renderer for Notion. TS batteries included. β‘οΈ
haunted - React's Hooks API implemented for web components π»
use-query-params - React Hook for managing state in URL query parameters with easy serialization.
vueuse - Collection of essential Vue Composition Utilities for Vue 2 and 3
use-http - πΆ React hook for making isomorphic http requests
react-use - React Hooks β π
state - π Tiny and powerful React hook-based state management library.