• Saves only select modules.

    Type Parameters

    • S

    Parameters

    • moduleNames: string[]

      Names (as they appear in state object) of modules to be persisted.

    Returns Reducer<S>