hooks
web
hooks | web | |
---|---|---|
7 | 10 | |
13,354 | 1,832 | |
0.8% | 1.1% | |
8.5 | 9.1 | |
6 days ago | 9 days 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
web
-
UseHooks – A Collection of Server Component Safe React Hooks
From what I've been able to tell, that lib is unmaintained and one of the original authors left and created this – https://github.com/react-hookz/web.
A lot of older hook libs "break the rules" of React by doing some weird stuff like silencing useEffects deps array, reading refs in render, etc. We tried to avoid that so useHooks will be future proof.
-
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
- React의 맥가이버, react-use, react-hookz!
-
What would you change about React?
export function useMountEffect(effect: CallableFunction): void { useEffect(() => { effect(); // eslint-disable-next-line react-hooks/exhaustive-deps }, []); } ``` Taken from https://github.com/react-hookz/web/blob/master/src/useMountEffect/useMountEffect.ts
- Using React Context to store a Locale Change callback - Right or wrong?
-
I built a library for useful react hooks and utilities — react-hooks-library
react-use is also unmaintained. @react-hooks/web is the new library by one of its former maintainers.
-
What are your favourite custom hooks?
Everything in react-hookz!
-
Commonly used libraries (standard "go to") for medium size application
If you are looking for a solid library of useful hooks, @react-hookz/web](https://github.com/react-hookz/web) is a good place to start
-
@react-hookz/web - the successor of react-use, but this time done right
Everyone are welcome: https://github.com/react-hookz/web
What are some alternatives?
use-between - Sharing state between React components
react-use - React Hooks — 👍
beautiful-react-hooks - 🔥 A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥
react-use-please-stay - A React hook that animates the document title and/or favicon when focus from the page is lost.
reactfire - Hooks, Context Providers, and Components that make it easy to interact with Firebase.
usehooks - A collection of modern, server-safe React hooks – from the ui.dev team
haunted - React's Hooks API implemented for web components 👻
transition-hook - ☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
vueuse - Collection of essential Vue Composition Utilities for Vue 2 and 3
use-timer - A timer hook for React
react-use-chinese - 中文文档@react-use