redux-make-immutable

September 16, 2015 ยท View on GitHub

Redux middleware to coerce native javascript types into the equivalent Immutable.js types. Works with both Flux Standard Actions non-standard actions.

If an action is submitted without a type key, it will be forwarded.

Install

npm install -S redux-make-immutable

Usage

import makeImmutable from 'redux-make-immutable';

... applyMiddleware(
      thunkMiddleware,
      loggerMiddleware,
      makeImmutable
    );