- 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.
推薦閱讀
- Mastering Selenium WebDriver
- Python 3網絡爬蟲實戰
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- Python數據挖掘與機器學習實戰
- SQL Server 2016數據庫應用與開發
- ASP.NET開發與應用教程
- SQL Server數據庫管理與開發兵書
- Mastering Linux Security and Hardening
- Principles of Strategic Data Science
- BeagleBone Robotic Projects(Second Edition)
- 零基礎學C語言(升級版)
- LabVIEW數據采集
- Mastering ASP.NET Core 2.0
- Python高性能編程(第2版)
- PHP程序員面試算法寶典