4 ms·
That's not deeply immutable like you'd want for sharing objects across threads, or even for using in contexts like React and Redux.
by spankalee 9y ago
That's not deeply immutable like you'd want for sharing objects across threads, or even for using in contexts like React and Redux.
- phailhaus 9y agoNot too hard to call Object.freeze() recursively to get the deep immutability you need. And of course there's ImmutableJS for other immutable data structures.