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

Uses a singleton store #6

Open
wmertens opened this issue Apr 4, 2017 · 1 comment
Open

Uses a singleton store #6

wmertens opened this issue Apr 4, 2017 · 1 comment

Comments

@wmertens
Copy link

wmertens commented Apr 4, 2017

Would it not be possible to make the injection work with the store that is on context? That way, this works with server-side rendering. So there'd be a decorator that you pass the reducer to and it injects it on Redux…

@randallknutson
Copy link
Owner

I'm very much in favor of this. I didn't like using a global to store the configs in the first place. If I have some time I'll look into refactoring this. Otherwise feel free to offer a pull request.

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