Best Store Option for Vue3 with Typescript

This page summarizes the projects mentioned and recommended in the original post on /r/vuejs

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. vuexok

    I then found several small community projects (1 2 3) which look like they perform that boilerplate for you and... not much else. They also require their own additional npm import, which isn't ideal.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. typesafe-vuex

    A simple way to get static typing, static code analysis and intellisense with Vuex library - maintained fork of vuex-typescript

    I then found several small community projects (1 2 3) which look like they perform that boilerplate for you and... not much else. They also require their own additional npm import, which isn't ideal.

  4. direct-vuex

    Use and implement your Vuex store with TypeScript types. Compatible with the Vue 3 composition API.

    I then found several small community projects (1 2 3) which look like they perform that boilerplate for you and... not much else. They also require their own additional npm import, which isn't ideal.

  5. pinia

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

    take a look at pinia (https://github.com/posva/pinia) so far the best choice for vue 3

  6. diffx

    A state management library for React, Vue.js, Svelte, Angular and vanilla javascript

    I like Vuex because of its strictness and inspection tool. But I have used diffx successfully and it's built on top of @vue/reactive and works with any firework and vanilla. Souch simpler to work with than Vuex. And has its own inspector plugin. https://github.com/jbjorge/diffx

  7. effector-react

    Business logic with ease ☄️

    It’s worth noting that there is a thing called Effector and I have heard a lot of good stuff about it. Maybe you should give it a try and take a peek at its documentation as well.

  8. harlem

    Powerfully simple global state management for Vue 3

    I've also written a state management called Harlem which is designed specifically to work well with TypeScript: https://harlemjs.com

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to Protect State in Pinia

    2 projects | dev.to | 7 Apr 2024
  • Code Refactoring: Avoid Prop Drilling in Vue with Provide/Inject

    1 project | dev.to | 16 Jul 2024
  • You no longer need Vuex / Pinia for shared state in Vue.

    2 projects | dev.to | 24 May 2024
  • A guide to Vue Lifecycle hooks.

    1 project | dev.to | 16 May 2023
  • Which one is the favor?

    1 project | /r/vuejs | 10 Apr 2023

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?