From cde9c0409f859fc35c4d2c8c295e3f03e71b91b3 Mon Sep 17 00:00:00 2001 From: Dag Stuan Date: Mon, 8 Oct 2018 15:56:30 +0200 Subject: [PATCH] Fix a very small typo in mapStateToProps docs (#1040) --- docs/connect-extracting-data-with-mapStateToProps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/connect-extracting-data-with-mapStateToProps.md b/docs/connect-extracting-data-with-mapStateToProps.md index 3669bb64b..e655561eb 100644 --- a/docs/connect-extracting-data-with-mapStateToProps.md +++ b/docs/connect-extracting-data-with-mapStateToProps.md @@ -62,7 +62,7 @@ function mapStateToProps(state, ownProps) { }; // Later, in your application, a parent component renders: - + // and your component receives props.id, props.todo, and props.visibilityFilter ``` @@ -251,4 +251,4 @@ function mapStateToProps(...args) { - [Why Is My Component Re-Rendering Too Often?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often) - [Why isn't my component re-rendering, or my mapStateToProps running](https://redux.js.org/faq/reactredux#why-isnt-my-component-re-rendering-or-my-mapstatetoprops-running) - [How can I speed up my mapStateToProps?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often) -- [Should I only connect my top component, or can I connect multiple components in my tree?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often) \ No newline at end of file +- [Should I only connect my top component, or can I connect multiple components in my tree?](https://redux.js.org/faq/reactredux#why-is-my-component-re-rendering-too-often)