Hacker GitHub

← All repos

unadlib/mutative

View on GitHub ↗ ★ 2,027 TypeScript

Efficient immutable updates, about 3-6x faster than Immer.

7 mentions on Hacker News by 5 people: 3 stories, 4 comments · first 2023-01-25 · latest 2025-09-21

Mentions per year 7 mentions · busiest year 2023 (3)
20082026
  1. The readme explains how Mutative achieves better performance over Immer: https://github.com/unadlib/mutative#readme
  2. The readme explains in more detail: https://github.com/unadlib/mutative#readme > Immer must have auto-freeze enabled by default(Performance will be worse if auto-freeze is disabled), such immutable state with Immer is not common. In…
  3. for those considering Immer, check out Mutative or Limu instead (both much faster) https://github.com/unadlib/mutative https://github.com/tnfe/limu
    comment by leeoniya · 2023-12-22 · in Deep cloning objects in JavaScript
  4. …run s1 npm run s2 npm run s3 npm run s4 ``` The results of one set of performance tests ![image]( https://github.com/unadlib/mutative/assets/7334950/2520b8e9-... ) At the same time, the number of single test cases has increased to 500+,…