1.0.0 • Published 3 years ago

redux-observable-state v1.0.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
3 years ago

redux-observable-state

Creates an RxJS observable that emits the latest Redux state any time any action changes it.

Usage

Install the package:

npm install redux-observable-state

Create the needed variables:

import { createObservable } from 'redux-observable-sate'

export const { state$, middleware } = createObservableState(rootReducer)

After connecting middleware to Redux, you can subscribe to the state$ observable.

API Docs

See the API Docs.

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago