Skip to content

Commit 0295d0d

Browse files
committed
broken link to Store.md#getState
removed extra newline causing the broken link
1 parent dafda90 commit 0295d0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/advanced/Middleware.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,7 @@ function applyMiddleware(store, middlewares) {
266266

267267
The implementation of [`applyMiddleware()`](../api/applyMiddleware.md) that ships with Redux is similar, but **different in three important aspects**:
268268

269-
* It only exposes a subset of the [store API](../api/Store.md) to the middleware: [`dispatch(action)`](../api/Store.md#dispatch) and [`getState()`](../api/Store.
270-
md#getState).
269+
* It only exposes a subset of the [store API](../api/Store.md) to the middleware: [`dispatch(action)`](../api/Store.md#dispatch) and [`getState()`](../api/Store.md#getState).
271270

272271
* It does a bit of trickery to make sure that if you call `store.dispatch(action)` from your middleware instead of `next(action)`, the action will actually travel the whole middleware chain again, including the current middleware. This is useful for asynchronous middleware, as we have seen [previously](AsyncActions.md).
273272

0 commit comments

Comments
 (0)