hooks
vueuse
hooks | vueuse | |
---|---|---|
7 | 86 | |
13,354 | 18,723 | |
0.8% | 1.0% | |
8.5 | 9.5 | |
6 days ago | 10 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
vueuse
-
Ask HN: Learn React or Vue?
My opinion: Vue, specifically the Vue 3 Composition API. Most of your app state should come from computed() values. Bookmark https://vueuse.org and come back to it often. Go through VueUse's source (the docs for each function link to their source): you'll be surprised at how simple most of it is, and it stands as documentation of best practices for using the composition API in general.
- Useful Vue Utils with VueUse
-
Implementing Tailwind CSS Dark Mode Toggle with No Flicker
Now, let’s talk about Vue! Once again, we’ll use an external library to handle dark mode simply and quickly. In this case, the library is called VueUse, and you can install it using the command npm i @vueuse/core --save.
-
useHooks – A collection of Server Component safe React Hooks
Great library. Could use some improvements as said by other (tree shaking, add jsdocs, etc…). Just a quick reminder for the vuejs devs out there we have https://vueuse.org/
-
UseHooks – A Collection of Server Component Safe React Hooks
Yeah, I figured useHooks was created without knowing about VueUse, but thought they might have become aware of it sense then. It makes sense, because though the code is heading in the direction of VueUse in terms of being maintained and well rounded, the structure of useHooks is quite a bit different. It has the code alongside the Markdown: https://github.com/vueuse/vueuse/tree/main/packages/integrat...
- VueUse Full Screen issue
-
Sending notifications to the browser from Vue?
Demo: https://github.com/vueuse/vueuse/blob/main/packages/core/useWebNotification/demo.vue
-
First Time at Vue
Also take a look at https://vueuse.org/ which might save you some lines :)
- Composition API vs. Options API
-
Why isn’t everyone using <script setup>?
For what it's worth my timeframe is very similar to yours! Started in 2019, no React / Angular. I think looking at great codebases like [VueUse](https://github.com/vueuse/vueuse) shows off the best of composition API.
What are some alternatives?
use-between - Sharing state between React components
svelte-actions - prototype official actions for Svelte
beautiful-react-hooks - 🔥 A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
reactfire - Hooks, Context Providers, and Components that make it easy to interact with Firebase.
react-select - The Select Component for React.js
haunted - React's Hooks API implemented for web components 👻
vuex - 🗃️ Centralized State Management for Vue.js.
react-use - React Hooks — 👍
vitesse - 🏕 Opinionated Vite + Vue Starter Template
graphql-typed-document-node - An improved version of `DocumentNode` for seamless TypeScript integration for GraphQL.
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time