September 2017
Intermediate to advanced
216 pages
6h 8m
English
You can parse a regular JavaScript array, resulting in a list, as shown here:
import { fromJS } from 'immutable';const myList = fromJS([1, 2, 3]);console.log('myList', myList.get(0));// -> myList 1
This is just like passing the array to the List constructor.
Read now
Unlock full access