vueuse
react-use
Our great sponsors
vueuse | react-use | |
---|---|---|
86 | 58 | |
18,471 | 40,024 | |
2.4% | - | |
9.6 | 6.4 | |
7 days ago | 12 days ago | |
TypeScript | TypeScript | |
MIT License | The Unlicense |
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.
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...
-
First Time at Vue
Also take a look at https://vueuse.org/ which might save you some lines :)
-
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.
-
Advice needed for Supabase + Pinia
And VueUse is an incredible addition too for cookies and so much more: https://vueuse.org/
-
Create a Shopping Cart with Vuejs and Pinia
Vueuse a collection of essential Vuejs composition utilities.
-
I still want to use options API for Vue 3
It really depends on how complex is your application but as it grows bigger and complex the composition API let's you brake into more meaningful pieces. Take a look at https://vueuse.org maybe it sparks why some of us really love composition API
Try this out. Take a Vue 3 project you are working on and make a copy of an existing component. Now rewrite that component using the composition API. See how you can group related code together inside the script setup, and then try pulling out a block of code into a composable. Again, do this with code organization in mind first. See if anything clicks for you (like it did for me). If not, then fair enough! Keep on using options. But if that starts to make sense, then you can start to explore some of the other benefits of the composition API. For that, I'd recommend browsing through the VueUse codebase to see how they set up their composition utilities.
- vue 3 component library that uses vitest
react-use
-
Ultimate Guide & Resources to Enhancing Your ReactJS Skills || 16 GitHub repositories
Discover a collection of custom React hooks for supercharging your app's functionality.
-
UseHooks – A Collection of Server Component Safe React Hooks
How do these compare with the current heavyweight library?
-
This package simplifies async data handling in your React apps
What's the benefit over useAsync and friends?
-
Manipulating nested objects inside state
try this one: https://github.com/streamich/react-use/blob/master/docs/useSetState.md
-
5 Great Custom Hooks For Your React Project
One use case for the useWindowSize hook, which belongs to react-use, is for responsive design. The useWindowSize hook keeps track of the size of the browser window which makes it possible to apply different styles (layouts, displays, etc.) to user interfaces at different sizes. It returns an object containing the current width and height of the window.
-
7 Really Helpful GitHub Repositories for React Developers🚀🎯
Link: https://github.com/streamich/react-use
-
16 Github Repos to master React
10-) Sometimes when hooks are not enough for you, you may feel the need to write Custom Hooks. A great Custom Hook List that will make your job easier react-use beautiful-react-hooks
-
Yet another post about SolidJS vs React
For global state, in React you probably need a helper function from a library like createGlobalState from react-use.
-
Alternative libs to migrate from React to Vue (or Vue to React)
react-use
-
missing library for Svelte
Vue has VueUse, React has react-use, is there anything like this for Svelte?
What are some alternatives?
usehooks-ts - React hook library, ready to use, written in Typescript.
svelte-actions - prototype official actions for Svelte
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
rooks - Essential React custom hooks ⚓ to super charge your components!
react-select - The Select Component for React.js
vuex - 🗃️ Centralized State Management for Vue.js.
vitesse - 🏕 Opinionated Vite + Vue Starter Template
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
vuetify - 🐉 Vue Component Framework
milkdown - 🍼 Plugin driven WYSIWYG markdown editor framework.
unbuild - 📦 An unified javascript build system
vue-draggable-next - Vue 3 drag-and-drop component