Skip to content

Commit 7e653f8

Browse files
authored
Fix some broken links
Fixes reduxjs#1289
1 parent 24af60e commit 7e653f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/connect.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Your `mapStateToProps` functions are expected to return an object. This object,
6969
7070
The return of the `mapStateToProps` determine whether the connected component will re-render (details [here](../using-react-redux/connect-extracting-data-with-mapStateToProps.md#return-values-determine-if-your-component-re-renders)).
7171
72-
For more details on recommended usage of `mapStateToProps`, please refer to [our guide on using `mapStateToProps`](../using-react-redux/connect-mapstate).
72+
For more details on recommended usage of `mapStateToProps`, please refer to [our guide on using `mapStateToProps`](../using-react-redux/connect-extracting-data-with-mapStateToProps.md).
7373
7474
> You may define `mapStateToProps` and `mapDispatchToProps` as a factory function, i.e., you return a function instead of an object. In this case your returned function will be treated as the real `mapStateToProps` or `mapDispatchToProps`, and be called in subsequent calls. You may see notes on [Factory Functions](#factory-functions) or our guide on performance optimizations.
7575
@@ -151,7 +151,7 @@ const mapDispatchToProps = (dispatch, ownProps) => {
151151
}
152152
```
153153
154-
For more details on recommended usage, please refer to [our guide on using `mapDispatchToProps`](../using-react-redux/connect-mapdispatch).
154+
For more details on recommended usage, please refer to [our guide on using `mapDispatchToProps`](../using-react-redux/connect-extracting-data-with-mapStateToProps.md).
155155
156156
> You may define `mapStateToProps` and `mapDispatchToProps` as a factory function, i.e., you return a function instead of an object. In this case your returned function will be treated as the real `mapStateToProps` or `mapDispatchToProps`, and be called in subsequent calls. You may see notes on [Factory Functions](#factory-functions) or our guide on performance optimizations.
157157
@@ -182,7 +182,7 @@ In this case, React-Redux binds the `dispatch` of your store to each of the acti
182182
bindActionCreators(mapDispatchToProps, dispatch)
183183
```
184184
185-
We also have a section in our `mapDispatchToProps` guide on the usage of object shorthand form [here](../using-react-redux/connect-mapdispatch#defining-mapdispatchtoprops-as-an-object).
185+
We also have a section in our `mapDispatchToProps` guide on the usage of object shorthand form [here](../using-react-redux/connect-extracting-data-with-mapStateToProps.md#defining-mapdispatchtoprops-as-an-object).
186186
187187
### `mergeProps?: (stateProps, dispatchProps, ownProps) => Object`
188188

0 commit comments

Comments
 (0)