Key Features
- Master the Immutable.js JavaScript framework
- Become a better JavaScript developer using immutable data
- Build predictable applications using immutability
- Control how data flows through your application
- Control how the side-effects of these flows in the User Interface, and Node.js
Book Description
Mastering Immutable.js is a comprehensive coverage of all aspects of programming with JavaScript using the Immutable.js framework. All aspects of the Immutable.js framework are considered and common JavaScript situations are examined practically, so you'll have hands-on experience using Immutable.js ready for your own JavaScript projects.
Immutable.js is a JavaScript library that provides simple abstractions for immutable collections. This book shows you how to build predictable applications using immutability to control how data flows through your application, and how the side-effects of these flows are managed. Immutability is an important concept building large software systems. 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.However, implementing immutable data can be difficult, especially in a language that doesn’t natively support immutable data, like JavaScript.
Simply using Immutable.js isn’t enough to make your application better. You have to use it correctly and consistently, which is harder than it sounds. This is what this book is for, to show you how Immutable.js should be used, and why. You won’t find a resource like this anywhere else, including the actual Immutable.js documentation.
What you will learn
- How Immutable.js can improve your JavaScript coding
- How to Create Immutable Data, and working with Persistent Changes
- Combining and filtering collections, and finding items
- How to work with Sequences and side-effects
- How to sort collections, maps and sets in Immutable.js
- Tricks to avoiding Processing chains
- Comparing and moving between lists, sets and maps
- Working with Immutable Patterns, Immutable Architecture
About the Author
Adam Boduch has been building web applications for over a decade. He has extensive experience with building large-scale front end architectures and writing high-performance JavaScript code. Adam is the author of Flux Architecture published by Packt and is currently working on building React applications that scale.