Have a personal or library account? Click to login
Mastering Immutable.js Cover

Mastering Immutable.js

Better JavaScript development using immutable data

Paid access
|Sep 2025
Product purchase options

This book shows JavaScript developers how to build highly dependable JavaScript projects using the Immutable.js framework.

Key Features

  • Master the Immutable.js JavaScript framework
  • Build predictable and dependable applications using immutability
  • Control how data flows through your application
  • Control the effects of data flow in your user interface using Node.js

Book Description

Immutable.js is a JavaScript library that will improve the robustness and dependability of your larger JavaScript projects. All aspects of the Immutable.js framework are covered in this book, and common JavaScript situations are examined in a hands-on way so that you gain practical experience using Immutable.js that you can apply across your own JavaScript projects.

The key to building robust JavaScript applications using immutability is to control how data flows through your application, and how the side-effects of these flows are managed. Many problems that are difficult to pinpoint in large codebases stem from data that’s been mutated where it shouldn’t have been. With immutable data, you rule out an entire class of bugs.

Mastering Immutable.js takes a practical, hands-on approach throughout, and shows you the ins and outs of the Immutable.js framework so that you can confidently build successful and dependable JavaScript projects.

What you will learn

  • Learn how Immutable.js can improve the dependability of your JavaScript code
  • Discover how to create Immutable data, and work with persistent changes
  • See how to combine and filter collections, and find items
  • Learn how to work with sequences and side effects
  • Sort collections, maps, and sets
  • Get to know tricks to avoid processing chains
  • Compare and move between lists, sets, and maps
  • Work with Immutable patterns and Immutable architecture

Who this book is for

This book is for JavaScript developers, from intermediate level and beyond, who need to create dependable JavaScript projects, using the Immutable.js JavaScript framework.

Table of Contents

  1. Why Immutable.js?
  2. Creating Immutable Data
  3. Persistent Changes
  4. Filtering Collections and Finding Items
  5. Sequences and Side-Effects
  6. Sorting Collections
  7. Mapping and Reducing
  8. Zipping and Flattening
  9. Persistent Change Detection
  10. Working with Sets
  11. Comparing Collections
  12. Combining Collections
  13. Declarative Decision Making
  14. Side-Effects in User Interfaces
  15. Side-Effects in Node.js
  16. Immutable Architecture
https://github.com/packtpublishing/mastering-immutablejs
PDF ISBN: 978-1-78839-724-7
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 216