vueuse
unbuild
Our great sponsors
vueuse | unbuild | |
---|---|---|
86 | 3 | |
18,471 | 2,016 | |
2.4% | 4.3% | |
9.6 | 8.0 | |
8 days ago | 4 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.
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
unbuild
-
Building a modern gRPC-powered microservice using Node.js, Typescript, and Connect
And we will once use unbuild to build.
-
Building Unlighthouse: Open-Source Package For Site-wide Google Lighthouse scans
unbuild
What are some alternatives?
svelte-actions - prototype official actions for Svelte
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
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
vue-draggable-next - Vue 3 drag-and-drop component
vite - Next generation frontend tooling. It's fast!
motion - 🤹 Vue Composables putting your components in motion
Nuxt 3 - Old repo of Nuxt 3 framework, now on nuxt/nuxt
unplugin-vue2-script-setup - 💡 Bring `<script setup>` to Vue 2.