Best Store Option for Vue3 with Typescript

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

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • 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.

  • 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.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • 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.

  • 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

  • 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

  • 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.

  • harlem

    Simple, unopinionated, lightweight and extensible 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

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

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