Top "Immutable.js" questions

Immutable.

Index inside map() function

I am missing a option how to get the index number inside the map function using List from Immutable.js: …

javascript functional-programming immutable.js
How to update element inside List with ImmutableJS?

Here is what official docs said updateIn(keyPath: Array<any>, updater: (value: any) => any): List<T&…

javascript functional-programming immutable.js
Why is immutability so important (or needed) in JavaScript?

I am currently working on React JS and React Native frameworks. On the half way road I came across Immutability …

javascript reactjs functional-programming immutability immutable.js
Immutable.js Map values to array

I am using the immutable Map from http://facebook.github.io/immutable-js/docs/#/Map I need to get an array …

javascript immutable.js
How to use Immutable.js with redux?

Redux framework is using reducers to change app state in response to an action. The key requirement is that a …

javascript immutable.js redux
When to use .toJS() with Immutable.js and Flux?

I'm trying to use ImmutableJS with my React / Flux application. My stores are Immutable.Map objects. I'm wondering at which …

reactjs reactjs-flux immutable.js
How to set multiple fields at once in Immutable.js Record?

Looking at this, I think that Immutable. Record is the data structure for represent "javascript immutable objects", but I want …

immutable.js
Redux state is undefined in mapStateToProps

I am currently following this tutorial. I've hit a bit of a snag involving mapStateToProps in the following code: import …

javascript reactjs redux react-redux immutable.js
How can I set a deeply nested value in Immutable.js?

When working with plain JavaScript objects it's easy to change a deeply nested object property: people.Thomas.nickname = "Mr. T"; …

javascript immutable.js
How to update a value of a nested object in a reducer?

I have built my state like so const list = { categories: { Professional: { active: false, names: [ { id: 1, name: "Golf", active: false }, { id: 2, …

redux immutable.js