@rxsv/tools
v2.0.0-alpha.3
Published
rxsv tools
Downloads
85
Readme
tools
A utility package for the rxsv
.
npm install rxjs @rxsv/core @rxsv/tools
withDevTools
Connect to the Redux DevTools
Supported features:
- listening to the
rxsv
actions and displaying the current state - time travel debugging
import { createStore } from '@rxsv/core';
import { withDevTools } from '@rxsv/tools';
const store = createStore(a => a);
const enhancedStore = withDevTools(store);
You can connect multiple rxsv
stores to the devtools. They can be distinguished by passing a custom name.
const store = createStore(reducer, effect, 'ui-widget');