@mindspace-io/react-store
Purpose
This library provides TypeScript utilities for React (16.x or higher) developers.
- State Management using
createStore()
anduseStore()
-
useObservable()
for RxJS streams
Reactive Store
Easily build shared, reactive stores for your state management features:
React Hooks
Custom hooks for DependencyInjection (DI) and RxJS subscription management.
-
useInjectorHook()
for fast DI lookups of singleton services. Note this feature depends up the@mindspace-io/core
DI code. useObservable()
for 'Async pipe'-like functionality
Installation
To easily use this library, just use npm install @mindspace-io/react-store