If you’ve ever tried using Immutable.js, you’ll know it’s missing one very important thing – documentation! Sure, it claims to have documentation, but it is, quite simply, horrendous! It’s mostly auto-generated from the API’s method signatures, with virtually no examples of how to use it, and with all methods described using TypeScript – and who has time to learn another syntax just to figure out how to use a library?!
- The Foolproof Guide to Creating Lists
- Get, Set and Delete data from an Immutable List
- Merging Lists Finally Explained
- Every Way to Create an Immutable.js Map
- Get, Set, Delete and Update data from an Immutable Map
- 6 Ways to Merge Maps in Immutable.js
Immutable is a really good library with some excellent features for data manipulation, and great performance under the hood. If you’ve looked at it before but were turned off by the docs, give it another go with this series of tutorials, which hopefully make things much clearer. And if, like me, you have to use it, consider this the missing Immutable manual you always wished you had!