Skip to content

Commit 0df0c06

Browse files
authored
Merge pull request #1358 from njradford/patch-1
Update doc to reflect that default middleware is not replaced when using "getDefaultMiddleware"
2 parents ed75ee0 + 803e739 commit 0df0c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/immutabilityMiddleware.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ import exampleSliceReducer from './exampleSlice'
120120

121121
const store = configureStore({
122122
reducer: exampleSliceReducer,
123-
// Note that this will replace all default middleware
123+
// This replaces the original default middleware with the customized versions
124124
middleware: (getDefaultMiddleware) =>
125125
getDefaultMiddleware({
126126
immutableCheck: {

0 commit comments

Comments
 (0)