can anyone recommend a library to use mutating operations but return new unmutated objects?

the best I can think of is immutable.js but I was wondering if anything better is available. I'd rather use push and splice instead of using object spread operators for deeply nested objects. thanks!
2 Replies
Neto
Neto8mo ago
Immer
Neto
Neto8mo ago
Introduction to Immer | Immer
Immer (German for: always) is a tiny package that allows you to work with immutable state in a more convenient way.
Want results from more Discord servers?
Add your server