Skip to content

decorator with makeHot function #12

Description

@darul75

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions