Vuex - Long Term Memory
    Preparing search index...

    Type Alias Reducer<S>

    Reducer: (state: S) => Partial<S>

    Removes parts of the state that shouldn't be persisted.

    Type Parameters

    • S

    Type declaration

      • (state: S): Partial<S>
      • Parameters

        • state: S

          The full state from Vuex.

        Returns Partial<S>

        The part of the state that should be persisted.