Vuex - Long Term Memory
    Preparing search index...

    Function deepMerge

    • Deep merge the states using deepmerge library (defaults except that arrays are replaced).

      Type Parameters

      • S

      Parameters

      • loaded: Partial<S>

        State just loaded from the storage.

      • previous: S

        State present in Vuex (probably defaults).

      Returns S

      State that will be put into Vuex.

      See configurableDeepMerge for customizations.