immer

Create your next immutable state by mutating the current one

MIT 193 个版本
安装
npm install immer
yarn add immer
pnpm add immer
bun add immer
README

Immer

npm Build Status Coverage Status OpenCollective OpenCollective Gitpod Ready-to-Code

Create the next immutable state tree by simply modifying the current tree

Winner of the "Breakthrough of the year" React open source award and "Most impactful contribution" JavaScript open source award in 2019

Contribute using one-click online setup

You can use Gitpod (a free online VSCode like IDE) for contributing online. With a single click it will launch a workspace and automatically:

  • clone the immer repo.
  • install the dependencies.
  • run yarn run start.

so that you can start coding straight away.

Open in Gitpod

Documentation

The documentation of this package is hosted at https://immerjs.github.io/immer/

Support

Did Immer make a difference to your project? Join the open collective at https://opencollective.com/immer!

Release notes

https://github.com/immerjs/immer/releases

版本列表
11.1.15 2026-07-16
11.1.14 2026-07-16
11.1.13 2026-07-16
11.1.12 2026-07-16
11.1.11 2026-07-03
11.1.10 2026-07-03
11.1.9 2026-07-01
11.1.8 2026-05-08
11.1.7 2026-05-06
11.1.6 2026-05-04
11.1.5 2026-05-04
11.1.4 2026-02-10
11.1.3 2025-12-29
11.1.2 2025-12-29
11.1.0 2025-12-20
11.0.1 2025-11-28
11.0.0 2025-11-23
10.2.0 2025-10-25
10.1.3 2025-09-01
10.1.2 2025-09-01
10.1.1 2024-04-27
10.1.0 2024-04-27
10.0.4-beta 2024-03-11
10.0.4 2024-03-09
10.0.3-beta 2023-09-23
10.0.3 2023-10-02
10.0.2 2023-05-09
10.0.1 2023-04-17
10.0.0-beta.7 2023-04-16
10.0.0-beta.6 2023-04-06
10.0.0-beta.4 2023-04-03
10.0.0-beta.3 2023-04-03
10.0.0-beta.2 2023-04-03
10.0.0-beta.1 2023-04-03
10.0.0 2023-04-17
9.0.21 2023-03-23
9.0.20 2023-03-23
9.0.19 2023-01-27
9.0.18 2023-01-15
9.0.17 2023-01-02
9.0.16 2022-10-22
9.0.15 2022-06-13
9.0.14 2022-05-12
9.0.13 2022-05-11
9.0.12 2022-01-11
9.0.11 2022-01-11
9.0.10 2022-01-11
9.0.9 2022-01-11
9.0.8 2022-01-11
9.0.7 2021-11-24
9.0.6 2021-08-31
9.0.5 2021-07-05
9.0.4 2021-07-05
9.0.3 2021-06-09
9.0.2 2021-04-25
9.0.1 2021-03-20
9.0.0-beta.1 2021-03-19
9.0.0-beta.0 2021-03-19
9.0.0 2021-03-19
8.0.4 2021-03-19
8.0.3 2021-03-18
8.0.2 2021-03-17
8.0.1 2021-01-20
8.0.0 2020-11-17
7.0.15 2020-11-17
7.0.14 2020-10-20
7.0.13 2020-10-20
7.0.12 2020-10-20
7.0.11 2020-10-20
7.0.10 2020-10-20
7.0.9 2020-09-09
7.0.8 2020-08-25
7.0.7 2020-07-24
7.0.6 2020-07-24
7.0.5 2020-06-24
7.0.4 2020-06-22
7.0.3 2020-06-19
7.0.2 2020-06-19
7.0.1 2020-06-12
7.0.0 2020-06-10
6.0.9 2020-05-27
6.0.8 2020-05-23
6.0.7 2020-05-23
6.0.6 2020-05-21
6.0.5 2020-05-05
6.0.4 2020-05-05
6.0.3 2020-03-31
6.0.2 2020-03-16
6.0.1 2020-03-04
6.0.0-alpha.4 2020-02-26
6.0.0-alpha.3 2020-02-25
6.0.0-alpha.2 2020-02-13
6.0.0-alpha.1 2020-02-13
6.0.0-alpha.0 2020-02-13
6.0.0 2020-03-03
6.0.0-fix-425-2 2020-03-31
6.0.0-fix-425 2020-03-31
5.3.6 2020-02-12
5.3.5 2020-02-10
5.3.4 2020-02-05
5.3.3 2020-02-04
5.3.2 2020-01-15
5.3.0 2020-01-14
5.2.1 2020-01-10
5.2.0 2020-01-09
5.1.0-beta.2 2019-12-20
5.1.0-beta.1 2019-12-20
5.1.0 2019-12-20
5.0.2 2019-12-18
5.0.1 2019-12-09
5.0.0 2019-10-30
4.0.2 2019-10-22
4.0.1 2019-10-04
4.0.0-beta.0 2019-05-29
4.0.0 2019-09-11
3.3.0 2019-09-11
3.2.1 2019-09-10
3.2.0 2019-08-02
3.1.4 2019-08-02
3.1.3 2019-06-07
3.1.2 2019-05-14
3.1.1 2019-04-18
3.0.0 2019-04-17
2.1.5 2019-04-04
2.1.4 2019-03-19
2.1.3 2019-03-13
2.1.2 2019-03-12
2.1.1 2019-03-05
2.1.0 2019-02-28
2.0.0 2019-02-02
1.12.1 2019-01-23
1.12.0 2019-01-22
1.11.1 2019-01-22
1.11.0 2019-01-21
1.10.5 2019-01-14
1.10.4 2019-01-12
1.10.3 2019-01-12
1.10.2 2019-01-12
1.10.1 2019-01-11
1.10.0 2019-01-04
1.9.3 2018-12-18
1.9.2 2018-12-16
1.9.1 2018-12-16
1.9.0 2018-12-15
1.8.2 2018-12-12
1.8.1 2018-12-12
1.8.0 2018-11-19
1.7.4 2018-10-28
1.7.3 2018-10-25
1.7.2 2018-09-20
1.7.1 2018-09-18
1.7.0 2018-09-18
1.6.0 2018-09-04
1.5.0 2018-07-25
1.4.0 2018-07-25
1.3.1 2018-05-28
1.3.0 2018-05-04
1.2.1 2018-03-26
1.2.0 2018-03-17
1.1.3 2018-03-06
1.1.2 2018-03-06
1.1.1 2018-02-22
1.1.0 2018-02-20
1.0.3 2018-02-15
1.0.2 2018-02-13
1.0.1 2018-02-02
1.0.0 2018-01-31
0.8.5 2018-01-24
0.8.4 2018-01-19
0.8.3 2018-01-19
0.8.2 2018-01-17
0.8.1 2018-01-16
0.8.0 2018-01-16
0.7.0 2018-01-12
0.6.1 2018-01-11
0.6.0 2018-01-10
0.5.0 2018-01-10
0.4.2 2018-01-10
0.4.1 2018-01-09
0.4.0 2018-01-09
0.3.1 2018-01-09
0.3.0 2018-01-08
0.2.2 2018-01-04
0.2.1 2018-01-04
0.2.0 2018-01-03
0.1.2 2018-01-02
0.1.1 2018-01-02
0.1.0 2018-01-01
0.0.4 2017-12-31
0.0.3 2017-12-29
0.0.2 2017-12-29
0.0.1 2016-10-07
0.0.0-fix-362 2019-05-14