Deep merge the states using deepmerge library (defaults except that arrays are replaced).
State just loaded from the storage.
State present in Vuex (probably defaults).
State that will be put into Vuex.
See configurableDeepMerge for customizations.
Deep merge the states using deepmerge library (defaults except that arrays are replaced).