Skip to content

The best Immer alternatives

3 tools that do a similar job to Immer, 3 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

Immer

A JavaScript library that lets you update immutable state by writing ordinary mutating code.

  1. 1

    Immutable.js

    Open source · MIT · ★ 33k

    JavaScript libraries for immutable data collections that never change once created.

    Best for: JavaScript developers managing application state that is updated often; Teams building React or Flux-style apps where data flows one way

  2. 2

    Redux Toolkit

    Open source · MIT · ★ 11.2k

    Official toolset that makes writing Redux state logic simpler and less error-prone.

    Best for: Developers already using or learning Redux for app state; Teams that want the officially recommended Redux setup

  3. 3

    UI-Router

    Open source · MIT · ★ 13.4k

    A routing library for AngularJS apps that maps URLs to nested app states and views.

    Best for: Teams maintaining an existing AngularJS 1.x application; Developers who need nested views that follow URL structure

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to Immer. We don't take payment for placement.