Mastering Immutable.js: Better JavaScript development using immutable data

Posted By: AlenMiler
Mastering Immutable.js: Better JavaScript development using immutable data

Mastering Immutable.js: Better JavaScript development using immutable data by Adam Boduch
English | 28 Sept. 2017 | ISBN: 1788395115 | ASIN: B073RMMCL9 | 216 Pages | AZW3 | 484.56 KB

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

About the Author

Adam Boduch has been involved with large-scale JavaScript development for nearly 10 years. Before moving to the front end, he worked on several large-scale cloud computing products, using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems, and the scaling challenges they pose.

He is the author of several JavaScript books, including React and React Native by Packt Publishing and is passionate about innovative user experiences and high performance.

Table of Contents

Why Immutable.js?
Creating Immutable Data
Persistent Changes
Filtering Collections and Finding Items
Sequences and Side-Effects
Sorting Collections
Mapping and Reducing
Zipping and Flattening
Persistent Change Detection
Working with Sets
Comparing Collections
Combining Collections
Declarative Decision Making
Side-Effects in User Interfaces
Side-Effects in Node.js
Immutable Architecture