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

store state mixin (with state triggerables) #358

Closed
yonatanmn opened this issue Jun 21, 2015 · 3 comments
Closed

store state mixin (with state triggerables) #358

yonatanmn opened this issue Jun 21, 2015 · 3 comments

Comments

@yonatanmn
Copy link
Contributor

Hi,
Just uploaded reflux-state-mixin, take a look.

it enables stores to have state, setState(), and getInitialState(), and creates an hidden action out of every state key.

Inspired by this, and this. Originaly had the idea here

@spoike
Copy link
Member

spoike commented Oct 13, 2015

This is now documented in the README. Thanks for your support @yonatanmn

@spoike spoike closed this as completed Oct 13, 2015
@yonatanmn
Copy link
Contributor Author

Cool.
What about integrating this to reflux?
It became quite popular:

NPM Stats:
519 downloads in the last day
4,157 downloads in the last week
15,247 downloads in the last month

@spoike
Copy link
Member

spoike commented Oct 16, 2015

@yonatanmn I'm thinking about implementing data contexts in reflux, so that actions and stores will be instantiated along with a data context. It might supersede reflux-state-mixin, not sure, but I'll see if I can revisit the mixin after that.

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

No branches or pull requests

2 participants