If you want to pass all the action creators from a specific module into your container, you can do so by first importing your actions utilizing the following import method:
import * as actions from ‘../actions/action1’;
The above selects ALL your actions within a specific action creator module, and adds them to the this.props object of your container
To assign your actions into your container, you can write the following:
SUGGESTION 4/8 by reviewer2
Comments.js line 6
If you want to pass all the action creators from a specific module into your container, you can do so by first importing your actions utilizing the following import method:
The above selects ALL your actions within a specific action creator module, and adds them to the this.props object of your container
To assign your actions into your container, you can write the following:
This adds all the action creators within the imported actions module to your container with less syntax