Skip to content

Safe, recursive immutability using Object.freeze()

License

Notifications You must be signed in to change notification settings

rommelsantor/immute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

immute

Natively, Deeply Immutable Objects

Safe, recursive immutability using Object.freeze() with built-in detection and prevention of cyclic references.

While this implementation mitigates the possibility of a circular reference breaking your app, it is still possible to encounter and recurse on an object that cause issues. window is the most obvious of such objects and is explicitly ignored by immute().

About

Safe, recursive immutability using Object.freeze()

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published