Skip to content

Instantly share code, notes, and snippets.

@camsong
Forked from jlongster/immutable-libraries.md
Created October 6, 2015 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camsong/33983cdf8371cf9ecdce to your computer and use it in GitHub Desktop.
Save camsong/33983cdf8371cf9ecdce to your computer and use it in GitHub Desktop.
List of immutable libraries

A lot of people mentioned other immutable JS libraries after reading my post. I thought it would be good to make a list of available ones.

There are two types of immutable libraries: simple helpers for copying JavaScript objects, and actual persistent data structure implementations. My post generally analyzed the tradeoffs between both kinds of libraries and everything applies to the below libraries in either category.

Libraries are sorted by github popularity.

Persistent Data Structures w/structural sharing

  • immutable.js - Facebook's implementation with a JS-like API
  • mori - ClojureScript's persistent data structures exported to JS

Other libraries built on top of immutable.js: typed-immutable and immstruct

Immutable helpers (simply shallow copy JS objects)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment