- Mastering Immutable.js
- Adam Boduch
- 107字
- 2021-07-08 10:30:09
Summary
In this chapter, you were introduced to the various types of collections found in Immutable.js. We then looked at some code that creates new instances of these collections. Most of the time, you'll want to pass some initial data to a collection when it's created. There are a number of ways to create collections with initial data, including passing native JavaScript types to the constructors and using the of() static method. We then looked at the fromJS() function for when you need to parse complex JavaScript structures into their Immutable.js counterparts.
In the next chapter, you'll learn how to mutate your collections using persistent change methods.
推薦閱讀
- 解構產品經理:互聯網產品策劃入門寶典
- Cocos2D-X權威指南(第2版)
- 數據庫程序員面試筆試真題與解析
- Rust編程:入門、實戰與進階
- Practical Data Science Cookbook(Second Edition)
- jQuery EasyUI網站開發實戰
- Learning Neo4j 3.x(Second Edition)
- Redis Essentials
- Python機器學習算法與實戰
- Android程序設計基礎
- OpenCV 4計算機視覺項目實戰(原書第2版)
- SQL Server數據庫管理與開發兵書
- 跟戴銘學iOS編程:理順核心知識點
- Android Sensor Programming By Example
- 數據分析與挖掘算法:Python實戰