Mastering Immutable.js: Better JavaScript development using immutable data
Book details
Summary
Description
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
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
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
We would LOVE it if you could help us and other readers by reviewing the book