ImmutableJS
Working with Immutable Maps or Lists is one thing, but how do you work with complex objects, such as deeply nested Maps in a List, or a List in a deeply nested Map? This tutorial shows you how to actually [...]
ImmutableJS
An Immutable Set provides powerful Set operations such as intersect, union and subtract. This tutorial shows you how to use them, and when to use them instead of merging Lists. When to use Sets and the [...]
ImmutableJS
A Set is similar to a List at first glance, but has a number of different properties and functions. In this tutorial, we’ll look at how to create a Set, and why you’d use a Set over a List. [...]
ImmutableJS
Immutable offers many different ways of merging two or more Maps together. Choosing the right way, though, is confusing, unless you have an awesome guide with copious examples – which, funnily enough, [...]
ImmutableJS
Now we know how to create an Immutable Map, we’ll take a look at how we can get data from it, and how to add and delete items from it, all without mutating it. Note that the usual caveat applies: [...]
ImmutableJS
An Immutable Map is similar to a JavaScript object but it can seriously trip you up if you don’t know how it works. This article is the first in a deep dive of Immutable Maps, to show you how to [...]
ImmutableJS
In previous posts, we’ve seen how to create a new List, and how to add, insert and delete items. Now it’s time to get a bit more advanced and look at the ways you can merge two or more Lists [...]
ImmutableJS
We’ve seen how to create a new List, but how do you get at its data, or add or delete data from it once it’s been created? It’s not always obvious, so here are all the examples you always [...]
ImmutableJS
An Immutable List is similar to a JavaScript array, but different enough to catch you out if you don’t create a List correctly. Here are all the different ways to create a List, using arrays, objects, [...]