Mastering Immutable.js
暫譯: 精通 Immutable.js
Adam Boduch
- 出版商: Packt Publishing
- 出版日期: 2017-09-28
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 216
- 裝訂: Paperback
- ISBN: 1788395115
- ISBN-13: 9781788395113
海外代購書籍(需單獨結帳)
商品描述
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 the effects of data flow in your user interface working with Node.js
Book Description
Mastering Immutable.js covers 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
商品描述(中文翻譯)
關鍵特點
- 精通 Immutable.js JavaScript 框架
- 使用不可變數據成為更好的 JavaScript 開發者
- 使用不可變性構建可預測的應用程序
- 控制數據在應用程序中的流動
- 控制數據流對用戶界面的影響,並與 Node.js 一起工作
書籍描述
《精通 Immutable.js》涵蓋了使用 Immutable.js 框架進行 JavaScript 編程的所有方面。考慮到 Immutable.js 框架的所有方面,並實際檢查常見的 JavaScript 情況,因此您將獲得使用 Immutable.js 的實踐經驗,為自己的 JavaScript 項目做好準備。
Immutable.js 是一個 JavaScript 庫,提供了不可變集合的簡單抽象。這本書向您展示如何使用不可變性構建可預測的應用程序,以控制數據在應用程序中的流動,以及如何管理這些流動的副作用。不可變性是構建大型軟體系統的重要概念。許多在大型代碼庫中難以確定的問題源於數據在不應該變更的地方被改變。使用不可變數據,您可以排除整個類別的錯誤。然而,實現不可變數據可能很困難,特別是在像 JavaScript 這樣不原生支持不可變數據的語言中。
僅僅使用 Immutable.js 並不足以使您的應用程序變得更好。您必須正確且一致地使用它,這比聽起來要難。這就是這本書的目的,向您展示 Immutable.js 應該如何使用,以及為什麼要這樣做。您不會在其他地方找到像這樣的資源,包括實際的 Immutable.js 文檔。
您將學到的內容
- Immutable.js 如何改善您的 JavaScript 編碼
- 如何創建不可變數據,並處理持久性變更
- 組合和過濾集合,以及查找項目
- 如何處理序列和副作用
- 如何在 Immutable.js 中對集合、映射和集合進行排序
- 避免處理鏈的技巧
- 在列表、集合和映射之間進行比較和移動
- 使用不可變模式和不可變架構進行工作