0.1.3 • Published 9 years ago

tomutable v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

tomutable

Function to recursively convert a possibly immutable-js structure (at any depth) to a normal mutable object.

redux-dev-tools sometimes don't handle immutable state well. Just chain through this function and then monitor state as a regular object tree.

Install

npm i tomutable --save

Usage

import toMutable from 'tomutable'

...

const state = toMutable(maybeImmutableState)

// do stuff