pinia VS vuex-smart-module

Compare pinia vs vuex-smart-module and see what are their differences.

pinia

🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support (by vuejs)

vuex-smart-module

Type safe Vuex module with powerful module features (by ktsn)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
pinia vuex-smart-module
33 5
12,295 382
1.8% -
9.2 0.0
6 days ago over 1 year ago
TypeScript 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.

pinia

Posts with mentions or reviews of pinia. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-29.

vuex-smart-module

Posts with mentions or reviews of vuex-smart-module. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-27.
  • Vuex on NodeJs Server
    1 project | /r/vuejs | 31 Oct 2021
    Hi, I'm working on a simple game that runs with a lockstep simulation (basically there's a single game state module that has state, mutations, and actions). Actions are sent to the server-side store, they're applied, and mutations are sent to all the clients. I'm having trouble getting the vuex store to work properly on the server-side. I was planning on mocking a lot of it but I keep bringing more and more of vuex along for the ride. For context, I'm using vuex-smart-module: https://github.com/ktsn/vuex-smart-module. So far the client side is working great
  • What are the production ready alternatives for Vuex with full TS support for Vue2 ?
    3 projects | /r/vuejs | 27 Oct 2021
    Hello I'm working on a medium size application Vue2 which is using Vuex (around 20-25 modules) and since I cannot rewrite entire Vuex store - to use fantastic library https://github.com/ktsn/vuex-smart-module
  • Vuex and Typescript users, what library do you use?
    3 projects | /r/vuejs | 21 Oct 2021
    I'm learning typescript at the moment, I've seen there's a few libraries out there to provide typed support, for example. https://github.com/mrcrowl/vuex-typex, https://github.com/ktsn/vuex-smart-module, do you have any reasons why you use one over the other?
  • Why using “vuex” with typescript is a pain?
    2 projects | /r/vuejs | 4 Oct 2021
    If you are stuck in Vue 2 like me, the only way I found that kinda work is to use https://github.com/ktsn/vuex-smart-module. If your store is small I would try pinia or even composition api
  • Vuex helper that works properly with typescript
    2 projects | /r/vuejs | 13 Apr 2021
    I also used vuex-smart-module with Vue 2 and Vuex 3. It's a TS wrapper. It gives type safety, it works pretty well.

What are some alternatives?

When comparing pinia and vuex-smart-module you can also consider the following projects:

effector-react - Business logic with ease ☄️

vuex-module-decorators - TypeScript/ES7 Decorators to create Vuex modules declaratively

vuex - 🗃️ Centralized State Management for Vue.js.

rfcs - RFCs for substantial changes / feature additions to Vue core

vuex-orm - The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.

composition-api - Composition API plugin for Vue 2

vuex-typex - Typescript builder for strongly-typed access to Vuex Store modules

harlem - Powerfully simple global state management for Vue 3

mammoth - Scale a single world horizontally across multiple Minecraft servers.

unplugin-auto-import - Auto import APIs on-demand for Vite, Webpack and Rollup

vue-dfs-store - A Typescript friendly state management solution using Vue's built-in reactivity system