I want to be able to look at my immutable objects for debugging. I find it very difficult to look through an object by clicking on entries and such. Ideally what I would like is the opposite of the formJS function
so,
const immutableObj = fromJS({name: 'bob'})
return oppositeJS(immutableObj)
=> {name: 'bob'}
Just use toJS()
To read more about https://devdocs.io/immutable/index#map.tojs
const immutableObj = fromJS({name: 'bob'})
const backToObj = immutableObj.toJS();
nevermind, I found it in the documentation
toJS()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With