You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/migrating-rtk-2.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
id: migrating-rtk-2
3
-
title: Migrating to RTK 2.x and Redux 5.x
4
-
sidebar_label: Migrating to RTK 2.x and Redux 5.x
3
+
title: Migrating to RTK 2.0 and Redux 5.0
4
+
sidebar_label: Migrating to RTK 2.0 and Redux 5.0
5
5
hide_title: true
6
6
toc_max_heading_level: 4
7
7
---
@@ -10,7 +10,7 @@ toc_max_heading_level: 4
10
10
11
11
<divclassName="migration-guide">
12
12
13
-
# Migrating to RTK 2.x and Redux 5.x
13
+
# Migrating to RTK 2.0 and Redux 5.0
14
14
15
15
:::tip What You'll Learn
16
16
@@ -49,7 +49,7 @@ We've done local testing of the package, but we ask the community to try out thi
49
49
We've updated the build output in several ways:
50
50
51
51
-**Build output is no longer transpiled!** Instead we target modern JS syntax (ES2020)
52
-
- Moved all build artifacts to live under ./dist/, instead of separate top-level folders
52
+
- Moved all build artifacts to live under `./dist/`, instead of separate top-level folders
53
53
- The lowest Typescript version we test against is now 4.7
54
54
55
55
#### Dropping UMD builds
@@ -94,7 +94,7 @@ To fix this, there are three options:
94
94
95
95
In 2019, we began a community-powered conversion of the Redux codebase to TypeScript. The original effort was discussed in [#3500: Port to TypeScript](https://github.com/reduxjs/redux/issues/3500), and the work was integrated in PR [#3536: Convert to TypeScript](https://github.com/reduxjs/redux/issues/3536).
96
96
97
-
However, the TS-converted code in master has sat around since then, unused and unpublished, due to concerns about possible compatibility issues with the existing ecosystem (as well as general inertia on our part).
97
+
However, the TS-converted code sat around in the repo for several years, unused and unpublished, due to concerns about possible compatibility issues with the existing ecosystem (as well as general inertia on our part).
98
98
99
99
Redux core v5 is now built from that TS-converted source code. In theory, this should be almost identical in both runtime behavior and types to the 4.x build, but it's very likely that some of the changes may cause types issues.
0 commit comments