Skip to content
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

Feature Request: subscribe functions to state subtree modifications #2037

Closed
danajanezic opened this issue Oct 14, 2016 · 2 comments
Closed

Comments

@danajanezic
Copy link

I'm sure this has been requested before but I could not find it in the issues, but I would like to be able to subscribe functions only to a part of the subtree in the state that they care about and have them called when that portion of the subtree is modified. If that's not doable because of greater architectural concerns, right now in my project I'm using a function that wraps my subscriber that handles this for me, could something like this be added to the project? I'm willing to contribute the code myself, but I'm not sure how this community functions yet.

@markerikson
Copy link
Contributor

Yep, this has been suggested numerous times before. Please see http://redux.js.org/docs/faq/StoreSetup.html#store-setup-subscriptions for reasoning, links to earlier discussions, and links to addons that support this functionality on top of Redux itself.

@danajanezic
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants