September 2017
Intermediate to advanced
216 pages
6h 8m
English
A map is like a JavaScript object. It's a keyed collection, meaning that the same types of keys that you would use with JavaScript objects also work with maps. Immutable.js maps are also like native JavaScript Map instances in that they can use anything as a key—not just strings:
import { Map } from 'immutable';const myMap = Map();console.log('Map', myMap instanceof Map);// -> Map true
Read now
Unlock full access