Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aikoven/ice-redux-devtools
Redux DevTools Extension add-on that handles serialization of ZeroC Ice stuff
https://github.com/aikoven/ice-redux-devtools
Last synced: 3 days ago
JSON representation
Redux DevTools Extension add-on that handles serialization of ZeroC Ice stuff
- Host: GitHub
- URL: https://github.com/aikoven/ice-redux-devtools
- Owner: aikoven
- Created: 2018-01-22T11:31:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T11:47:32.000Z (almost 7 years ago)
- Last Synced: 2024-12-08T23:35:46.445Z (26 days ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ice Redux DevTools [![npm version][npm-image]][npm-url]
Handles serialization of [ZeroC Ice](https://github.com/zeroc-ice/ice) stuff for
[Redux DevTools Extension](https://github.com/zalmoxisus/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
```ts
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
));
```[npm-image]: https://badge.fury.io/js/ice-redux-devtools.svg
[npm-url]: https://badge.fury.io/js/ice-redux-devtools