store VS vuex-persistedstate

Compare store vs vuex-persistedstate and see what are their differences.


A better way to use localStorage and sessionStorage (by nbubna)


💾 Persist and rehydrate your Vuex state between page reloads. (by robinvdvleuten)
Our great sponsors
  • Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
store vuex-persistedstate
1 8
1,627 5,483
- -
0.0 6.6
3 months ago 11 days ago
JavaScript JavaScript
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.


Posts with mentions or reviews of store. We have used some of these posts to build our list of alternatives and similar projects.
  • targeting dynamically generated HTML elements | 2021-03-01
    There are libraries that make it much easier to store arrays, numbers, etc. (not just strings) like this one that you might want to take a look at: You'd just need to copy this file into your HTML editor panel (wrapped in


Posts with mentions or reviews of vuex-persistedstate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-09.
  • vuex-persistedstate is all you need for your Vue and Nuxt project | 2021-05-30
  • For anyone haunted by the dreaded, empty, soul-killing [__ob__: Observer]... | 2021-05-26
    As others have stated, stick to router methods. For extra spiciness, you can also persist your state using vuex-persistedstate. Use thoughtfully.
  • Vuex ORM and persisting data on static Nuxt app | 2021-05-09
    I know there is a package for persisting Vuex data via the local store but wondered if anyone knows this works with Vuex ORM. | 2021-05-09
    Those localstorage plugins just call JSON.stringify and JSON.parse and write/read that from the localstorage (set & get)
  • Non authenticated users allow user to perform action X times only | 2021-05-01
    Have a look a this, it works very well.
  • Implementing a Lock Screen for Your Protected User Pages | 2021-04-18
    For the lock to function efficiently we will need to have our password and lock status data persistent on page reloads, to do this we'll use the vuex-persistedstate plugin.
  • Which library to use to store tokens in cookies? | 2021-03-21
    If so, is this the right library to use?
  • Implementing Website Search with Vue. | 2021-03-07
    On the second tip you would query your server for all the items that exist in it and store them locally with the help of vuex and a persistence plugin such as vuex-persistedstate so that when the user reloads the website the data wont be lost. Afterwards for every subsequent search that will be performed by users the queries would be made to the item data pre-fetched and locally stored on the browser instead of making a new API call to your server on each search request. A point to be noted here is that this is a sound application if your database isn't being updated throughout the day, otherwise your users won't be able to query for the new added data.

What are some alternatives?

When comparing store and vuex-persistedstate you can also consider the following projects:

vue-cookies - A simple Vue.js plugin for handling browser cookies

vue-cli-plugin-ethers - Ethereum ethers.js web3 library vuex store module generator plugin for vue-cli 3

vue-ls - :boom: Vue plugin for work with local storage, session storage and memory storage from Vue context

axios - Promise based HTTP client for the browser and node.js