|
|
|
|
|
by _0w8t
1573 days ago
|
|
immer.js can have terrible performance for data structures starting already with 100 of elements. Using JS proxies is not cheap. We have found that continuing to use immutable.js Map and List but using plain JS objects, not Records is sort-of a sweat spot. But one needs to enforce immutability with Flow/TypeScript read-only types and use the latest immutable.JS to make it work. |
|