Immutable JS data structures which are backwards-compatible with normal Arrays and Objects. Use them in for loops, pass them to functions expecting vanilla JavaScript data structures, etc. Whenever you deeply clone large nested objects, it should typically go much faster with Immutable data structures. This is because the library reuses the existing nested objects rather than instantiating new ones. In the development build, objects are frozen. The development build also overrides unsupported methods (methods that ordinarily mutate the underlying data structure) to throw helpful exceptions. We generally recommend to use the "development" build that enforces immutability (and this is the default in Node.js). Only switch to the production build when you encounter performance problems. By popular demand, functions, errors, dates, and React components are treated as immutable even though technically they can be mutated.

Features

  • Immutable returns a backwards-compatible immutable representation of whatever you pass it
  • Seamless-immutable supports both static and instance syntaxes
  • Multiple keys can be provided, either in an Array or as extra arguments
  • Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects
  • Use them in for loops, pass them to functions expecting vanilla JavaScript data structures, etc.
  • Whenever you deeply clone large nested objects, it should typically go much faster with Immutable data structures

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow seamless-immutable

seamless-immutable Web Site

Other Useful Business Software
Optimize every aspect of hiring with Greenhouse Recruiting Icon
Optimize every aspect of hiring with Greenhouse Recruiting

Hire for what’s next.

What’s next for many of us is changing. Your company’s ability to hire great talent is as important as ever – so you’ll be ready for whatever’s ahead. Whether you need to scale your team quickly or improve your hiring process, Greenhouse gives you the right technology, know-how and support to take on what’s next.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of seamless-immutable!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2021-10-08