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

You Might Also Like
Holistically view your business data within a single solution. Icon
Holistically view your business data within a single solution.

For IT service providers and MSPs that need a data platform to manage their processes

BrightGauge, a ConnectWise solution, was started in 2011 to fill a missing need in the small-to-medium IT Services industry: a better way to manage data and provide the value of work to clients. BrightGauge Software allows you to display all of your important business metrics in one place through the use of gauges, dashboards, and client reports. Used by more than 1,800 companies worldwide, BrightGauge integrates with popular business solutions on the market, like ConnectWise, Continuum, Webroot, QuickBooks, Datto, IT Glue, Zendesk, Harvest, Smileback, and so many more. Dig deeper into your data by adding, subtracting, multiplying, and dividing one metric against another. BrightGauge automatically computes these formulas for you. Want to show your prospects how quick you are to respond to tickets? Show off your data with embeddable gauges on public sites.
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