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?!

So I wrote a series of in-depth tutorials on how to use the most important Immutable objects (Map, List and Set). With examples. In actual JavaScript. Better still, JavaScript that you can edit and play around with to see what’s actually going on!

Contents

Introduction

Lists

Maps

Sets

Advanced Recipes

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!


There are no comments.

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>