- 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.
推薦閱讀
- Instant Testing with CasperJS
- GeoServer Cookbook
- 數據結構習題精解(C語言實現+微課視頻)
- NativeScript for Angular Mobile Development
- PHP網絡編程學習筆記
- Full-Stack Vue.js 2 and Laravel 5
- Python機器學習算法與實戰
- Visual Basic 6.0程序設計實驗教程
- Learning AWS
- 后臺開發:核心技術與應用實踐
- Building Slack Bots
- Python機器學習與量化投資
- 程序員必會的40種算法
- Python人工智能項目實戰
- LiveCode Mobile Development Hotshot