grommet/grommet-ferret

Question: should I decouple Component with Actions?

level5 opened this issue · 0 comments

In Items.js, we import action create method from action.js directly. it seems violate the suggestions in Smart and Dumb Components.

Should I use a smart component to wrap Items.js in my project? is there any concern? if Items.js get callback from this.props, it would be easier to write the unit test.

ps: Is there other place to post my question?