quickbuild
Version:
A mature, feature-complete application generator with an emphasis on speed
13 lines (11 loc) • 505 B
JavaScript
/*
* HomeConstants
* Each action has a corresponding type, which the reducer knows and picks up on.
* To avoid weird typos between the reducer and the actions, we save them as
* constants here. We prefix them with 'yourproject/YourComponent' so we avoid
* reducers accidentally picking up actions they shouldn't.
*
* Follow this format:
* export const YOUR_ACTION_CONSTANT = 'yourproject/YourContainer/YOUR_ACTION_CONSTANT';
*/
export const CHANGE_USERNAME = 'boilerplate/Home/CHANGE_USERNAME';