# elgerlambert/redux-localstorage

Store enhancer that syncs (a subset) of your Redux store state to localstorage.

Repository: https://github.com/elgerlambert/redux-localstorage
Canonical: https://ross.abutalabs.com/products/redux-localstorage
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-01-23T11:23:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4065, "days_push": 1683, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1300, forks 98 (observed 2026-08-28T04:04:17.575685+00:00)

## What it is
A Redux store enhancer that syncs all or a subset of your Redux store state to localStorage. It supports custom storage keys, custom slicers for selecting state, and pluggable serialization for immutable collections.

## Use cases
- persist redux state across page reloads
- save a subset of redux store to localstorage
- restore app state from browser storage on startup
- persist redux state in react native with asyncstorage
- customize which parts of redux state are saved

## When to choose
- you use Redux and want simple browser-side state persistence
- you need to persist only top-level slices of your store
- you want a lightweight store enhancer rather than middleware

## When to avoid
- you need nested path persistence without writing a custom slicer
- you need flexible storage backends and are not willing to use the 1.0 RC branch
- your project no longer uses Redux

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, serialization, caching
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: redux, localstorage, state-persistence, store-enhancer, nodejs, javascript

## Member repositories
- elgerlambert/redux-localstorage (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.575685+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:52:18.643230+00:00, confidence not recorded.
  - readme: https://github.com/elgerlambert/redux-localstorage (fetched 2026-08-28T04:04:17.575685+00:00, sha 276d89440304)
  - registry_npm: https://registry.npmjs.org/redux-localstorage (fetched 2026-08-29T12:10:03.034208+00:00, sha a0af5b0bb267)
- Data as of 2026-08-30T08:39:29.467469+00:00.
