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

decorator with makeHot function #12

Open
darul75 opened this issue Jan 4, 2016 · 1 comment
Open

decorator with makeHot function #12

darul75 opened this issue Jan 4, 2016 · 1 comment

Comments

@darul75
Copy link

darul75 commented Jan 4, 2016

Hi,

I was able to combine immutable and createStore decorators but is it possible to get makeHot utility also ?

I mean this one is fine:

import { createStore } from 'alt-utils/lib/decorators';
import immutable from 'alt-utils/lib/ImmutableUtil';

@createStore(alt)
@immutable
class MyStore

export default MyStore;

But how to do with makeHot wrapper :

import { createStore } from 'alt-utils/lib/decorators';
import immutable from 'alt-utils/lib/ImmutableUtil';
import makeHot  from 'alt-utils/lib/makeHot';

@makeHot
@createStore(alt)
@immutable
class MyStore


export default MyStore;

thanks,

jul

@darul75
Copy link
Author

darul75 commented Jan 4, 2016

oh or it looks like already done in createStore function now ?

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

1 participant