vuex
🗃️ Centralized State Management for Vue.js. (by vuejs)
vite
Next generation frontend tooling. It's fast! (by vitejs)
vuex | vite | |
---|---|---|
90 | 891 | |
28,455 | 71,321 | |
0.1% | 1.4% | |
2.5 | 9.9 | |
6 months ago | 3 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
vuex
Posts with mentions or reviews of vuex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-26.
-
The problem with indirections
Something I have already seen in many different code bases using frontend libraries like React and Vue is that developers use advanced state management solutions (e.g. Redux, Vuex, or Pinia) way too often.
-
2024 Nuxt3 Annual Ecosystem Summary🚀
Document address: Vuex official document
-
Code Refactoring: Avoid Prop Drilling in Vue with Provide/Inject
To avoid prop drilling we can make use of state management library like Vuex and Pinia, but for this article I will demonstrate of using Vue provide and inject. Let's refactor our components.
-
Comparing Frontend Technologies: ReactJS vs VueJS
Flexibility: Vue is also flexible but provides more built-in solutions out of the box, such as Vue Router for navigation and Vuex for state management. This can reduce the need for additional libraries and make development more straightforward.
-
You no longer need Vuex / Pinia for shared state in Vue.
If you have been using Vue.js before 3.x you are probably familiar with Vuex now renamed Pinia. It allows you to have a centralized state that is shared across all your application components. If you have ever found yourself in situations where you are passing data/props between components and things are getting complicated, a centralized state is the answer.
-
How to Protect State in Pinia
Pinia is a relatively new state management tool for the Vue ecosystem. It is the new preferred state management tool recommended by the Vue core team replacing Vuex. Compared to Vuex, Pinia is type-safe by default (direct-vuex was needed to make Vuex type-safe), extremely lightweight, and modular by design (meaning you can create multiple stores instead of multiple modules inside one store, which optimises performance). Similar to Vuex, Pinia has state, computed properties (getters) and methods (mutations and actions). Read more about Pinia and its usage to understand the similarities and differences between Pinia and Vuex.
-
React or Vue, which JS framework is best?
Vue.js also offers built-in features like animation and state management through Vuex which serve a wide range of development needs.
-
Vue 3 vs Vue 2 so far? What's your opinion? Things I didn't like about Vue 3 compared to Vue 2
I really liked the idea of how all the core Vue libraries are maintained by Vue team themselves, making Vue feels like an all-in-one package instead of infinite npm install to add multiple community/personally maintained repos which often caused issues because they don't blend together. And now Pinia will be officially replacing Vuex, making me doubt if it'll be as reliable as Vuex.
-
A guide to Vue Lifecycle hooks.
Vuex: https://vuex.vuejs.org/
-
Which one is the favor?
Pinia. No discussion. Have you checked the Vuex website? It says Pinia is default. https://vuex.vuejs.org/
vite
Posts with mentions or reviews of vite.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-16.
-
Micro-frontends na prática
// 📂 container/vite.config.js import { defineConfig } from "vite" import react from "@vitejs/plugin-react" import federation from "@originjs/vite-plugin-federation" // https://vite.dev/config/ export default defineConfig({ plugins: [ react(), federation({ name: "container_app", remotes: { players: "http://localhost:5002/assets/remoteEntry.js" }, shared: { react: { singleton: true, requiredVersion: "^18.0.0" }, "react-dom": { singleton: true, requiredVersion: "^18.0.0" } } }) ], build: { modulePreload: false, target: "esnext", minify: false, cssCodeSplit: false } })
-
Popular GitHub Action tj-actions/changed-files is compromised
Looks like a lot of them are pinning to tags (which are not guaranteed to change) or SHA (https://github.com/vitejs/vite/blob/8da04227d6f818a8ad9efc00...) which is more hermetic.
-
TailwindCSS & DaisyUI in the Shadow DOM
We'll use Vite as a bundling solution as both Tailwind CSS and Daisy UI require importing CSS (the Get started with Tailwind CSS guide provides details on using Vite). The vite.config.ts file looks like:
-
Create React App is Deprecated: What’s Next?
Vite Documentation
- Lexical 0.24 with Vanilla JS: 始め方
- Como funciona um Player de Vídeo? Uma abordagem em JavaScript
-
Automate Your React App Deployment With JetBrains TeamCity
The above repo contains a React 18 app created using Vite. The app’s home page displays framework logos and includes a button that tracks how many times it’s clicked:
-
State of Auth Made Simple
Have you ever struggled to maintain persistent user data across your app, whether for authentication or other contexts? If so, you're not alone! In this post, I'll share my current approach to tackling this challenge in Next.js or Vite apps.
-
Matanuska ADR 017 - Vitest, Vite, Grabthar, Oh My!
I began searching for a new test framework, and at the recommendation of Nuck, I gave Vitest a shot. It's by the developers of Vite, which I loved. I don't do a lot of frontend development, but when I do, Vite is often my choice. Unlike many other solutions to frontend builds I've tried in the past, Vite "just works" and involves minimal baggage (looking at you, Angular).
-
Lexical 0.24 with Vanilla JS: Getting started
This post shows how to embed the editor in a Bun-powered Vite project handled by Vanilla JS.
What are some alternatives?
When comparing vuex and vite you can also consider the following projects:
ao-loot-logger-viewer - AO Loot Logger Viewer
Next.js - The React Framework
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
gulp - A toolkit to automate & enhance your workflow
uuix - A tiny (<1KB) and fast UUID (v4) generator for Crystal
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.