Skip to content

Commit 2bb3a59

Browse files
committed
Fix typo and add getDefaultMiddleware link
1 parent e8a39fe commit 2bb3a59

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/api/configureStore.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ function configureStore({
2525
})
2626
```
2727

28+
For details on how the `middleware` parameter works and the list of middleware that are added by default, see the
29+
[`getDefaultMiddleware` docs page](./getDefaultMiddleware.md)
30+
2831
Basic usage:
2932

3033
```js

docs/api/getDefaultMiddleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ state values for mutations. It can detect mutations in reducers during a dispat
6161
dispatches (such as in a component or a selector). When a mutation is detect, it will throw an error and indicate the key
6262
path for where the mutated value was detected in the state tree.
6363
- `serializable-state-invariant-middleware`: a custom middleware created specifically for use in `redux-starter-kit`. Similar in
64-
concept to `redux-immutable-state-invariant`, but deeply checks In adyour state tree and your actions for non-serializable values
64+
concept to `redux-immutable-state-invariant`, but deeply checks your state tree and your actions for non-serializable values
6565
such as functions, Promises, Symbols, and other non-plain-JS-data values. When a non-serializable value is detected, a
6666
console error will be printed with the key path for where the non-serializable value was detected.
6767

0 commit comments

Comments
 (0)