0.1.1 • Published 6 years ago

ice-redux-devtools v0.1.1

Weekly downloads
14
License
GPL-2.0
Repository
github
Last release
6 years ago

Ice Redux DevTools npm version

Handles serialization of ZeroC Ice stuff for Redux DevTools Extension. Transparently converts Ice object instances to plain JS objects before sending them to DevTools. On time travel converts them back to actual instances before they end up in application code. Supports long, enum, struct, dictionary, exception and class.

Installation

$ npm install ice-redux-devtools

Usage

import {composeWithDevTools} from 'redux-devtools-extension';
import {enhancerOptions} from 'ice-redux-devtools';

const composeEnhancers = composeWithDevTools(enhancerOptions);

const store = createStore(reducer, /* preloadedState, */ composeEnhancers(
  applyMiddleware(...middleware),
  // other store enhancers if any
));