-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
possible syntax clarification #600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I attempted to clarify some pronouns in a couple sentences to avoid confusion when sentence has multiple objects. Please let me know if I'm confusing some things.
Hmm. Appreciate the PR, but yeah, I think the new phrasing is incorrect. The idea is that when the store updates, the wrapper component (which is a subscriber to the store) will be notified. So, it's not that the component updates, it's the store. To be honest, I think both paragraphs could stand to be rewritten from scratch. I'll have to add that to my todo list. If you can fix up your edits to clarify that it's the store updates that lead to |
Rephrased wording to specify that the `mapStateToProps` will be called via the store being updated.
That seemed to be an easy fix. Unless I missed your point. Let me know if it's decent now. |
Yeah, actually, let's make a couple more edits:
|
So, when the argument edit I think the next sentence answered my question: |
see diff
Dan wrote a miniature version of |
Gotcha. I'm going to leave it at this commit if it's sufficient. Thanks for taking the time to look at this and explain it to me! |
One more phrasing tweak, if you could. Let's change "it will subscribe" to "the new component will subscribe". |
Changed "it will subscribe" to "the new component will subscribe".
Awright, looks good. Thanks for the help! If you've got any other suggestions or improvements for either the Redux or React-Redux docs, please feel free to file PRs and we'll see what we can do. |
Thank you! |
possible syntax clarification
I attempted to clarify some pronouns in a couple sentences to avoid confusion when sentence has multiple objects. Please let me know if I'm confusing some things.