Skip to main content

Introduction

ngrx-addons is a collection of addons for NgRx that extend the store with state persistence and cross-tab synchronization.

Packages

PackageDescriptionnpm
@ngrx-addons/persist-statePersist NgRx state to localStorage, sessionStorage, or custom storagenpm
@ngrx-addons/sync-stateSync NgRx state across browser tabs via Broadcast Channel APInpm
@ngrx-addons/commonShared utilities used by both librariesnpm

Compatibility

DependencyRequired version
Angular>=19.0.0
@ngrx/store>=19.0.0
RxJS>=7.0.0

Quick Start

npm i @ngrx-addons/persist-state
# or
npm i @ngrx-addons/sync-state

Both packages include @ngrx-addons/common as a dependency — no need to install it separately.