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
Neto7mo ago
Immer
Neto
Neto7mo 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