DEV Community

Discussion on: Mutation is ok

Collapse
 
slifin profile image
Adrian Smith

Most modern languages with immutability implement it with persistent data structures, ClojureScript for example, deep efficient immutability is the default

The closest thing you have to persistent data structures in JS is ImmutableJS, though honestly once you've cobbled together rambdajs, react, ImmutableJS, Google Clojure Compiler you should just use ClojureScript