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

Subscribing to substates #37

Open
DarioAhdoot opened this issue Jan 28, 2020 · 3 comments
Open

Subscribing to substates #37

DarioAhdoot opened this issue Jan 28, 2020 · 3 comments

Comments

@DarioAhdoot
Copy link

It doesn't seem possible to be able to subscribe the state change of a specific value or sub-state. Do you have any plans to add this feature?

@patjackson52
Copy link
Contributor

That was been deliberately left out of the core lib. Goal of this repo is to provide just the core functionality of the Redux pattern. Additional libs, middleware, enhancers can add functionality.

There is a port of Reselect library which allows memoized subscriptions to substates https://github.com/reduxkotlin/Reselect
I plan to do some work to that lib and this one once kotlin 1.3.7 is released

@DarioAhdoot
Copy link
Author

Awesome. Thanks for the quick reply. And kinda glad to hear this project hasn't been abandoned. It's kinda the only game in town for Redux on Android

@DarioAhdoot
Copy link
Author

Hey @patjackson52 I wasn't able to get Reselect to work at all. Has it been tested lately?

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