2.0.0-alpha.3 • Published 3 years ago

@rxsv/tools v2.0.0-alpha.3

Weekly downloads
47
License
MIT
Repository
github
Last release
3 years ago

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');