GitHub - mutativejs/mutability: A JavaScript library for transactional mutable updates
Briefly

The Mutability library enables developers to perform transactional updates on mutable objects—ensuring that if an error occurs during the update process, no changes are applied at all.
By using Mutability, developers can leverage the power of transactional updates for mutable data structures, enhancing the reliability of their applications with a simple install command via npm or yarn.
With Mutability, you can easily apply updates to mutable objects while ensuring that if any part of the update process throws an error, the mutable state remains unchanged.
The library is available under the MIT license, making it an accessible choice for developers looking to implement transactional updates in their JavaScript applications.
Read at GitHub
[
|
]