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

Idea: Reducer local state for Sagas instead of global state #20

Open
tomsdev opened this issue Mar 15, 2016 · 1 comment
Open

Idea: Reducer local state for Sagas instead of global state #20

tomsdev opened this issue Mar 15, 2016 · 1 comment

Comments

@tomsdev
Copy link

tomsdev commented Mar 15, 2016

Hi @threepointone, thanks for your work on this library, I think it's an important step towards fractal components!

I had an interesting discussion with @tomkis1 in this issue about sagas and the problem that they access global state which breaks the fractability of a component. What's your opinion on that?

Personally, I think that a reusable/fractal component's sagas should only have access to its local reducer state (and maybe its children reducer states). I don't know how sagas are currently implemented, how hard do you think it would be to make such a change?

@blocka
Copy link

blocka commented Sep 12, 2016

Check out redux-elm...I think it addresses your issue.

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