We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3f7e2 commit 606897fCopy full SHA for 606897f
packages/toolkit/src/index.ts
@@ -1,4 +1,3 @@
1
-import { enableES5 } from 'immer'
2
export * from 'redux'
3
export {
4
default as createNextState,
@@ -18,12 +17,6 @@ export type {
18
17
export { createDraftSafeSelector } from './createDraftSafeSelector'
19
export type { ThunkAction, ThunkDispatch, ThunkMiddleware } from 'redux-thunk'
20
21
-// We deliberately enable Immer's ES5 support, on the grounds that
22
-// we assume RTK will be used with React Native and other Proxy-less
23
-// environments. In addition, that's how Immer 4 behaved, and since
24
-// we want to ship this in an RTK minor, we should keep the same behavior.
25
-enableES5()
26
-
27
28
// js
29
configureStore,
0 commit comments