Day: 4 October 2016

  • Immutable.js: The Foolproof Guide to Creating Lists

    Immutable.js: The Foolproof Guide to Creating Lists

    An Immutable List is similar to a JavaScript array, but different enough to catch you out if you don’t create a List correctly. Here are all the different ways to create a List, using arrays, objects, and everything else. Create an empty List // Empty List: const list = Immutable.List(); // Output: list; Create a […]