function addState(componentName, key, initialComponentState) {
	return {
		type: CONSTANTS.COMPONENT_ADD_STATE,
		componentName,
		key,
		initialComponentState,
	};
}
/**
 * add a new component state with optional initialComponentState to the store
 *
 * @param {string} componentName : name of the component
 * @param {string} key : identifier of state used by this component
 * @param {object} initialComponentState : initial state of the component if required
 *
 * @throw if a component with this componentName associated to this key already exist
 */
add a new component state with optional initialComponentState to the store
@param {string} componentName : name of the component
@param {string} key : identifier of state used by this component
@param {object} initialComponentState : initial state of the component if required

@throw if a component with this componentName associated to this key already exist
add a new component state with optional initialComponentState to the store @param { string } componentName : name of the component @param { string } key : identifier of state used by this component @param { object } initialComponentState : initial state of the component if required @throw if a component with this componentName associated to this key already exist
function addState(componentName, key, initialComponentState) {
	return {
		type: CONSTANTS.COMPONENT_ADD_STATE,
		componentName,
		key,
		initialComponentState,
	};
}
function addState ( componentName , key , initialComponentState ) { return { type : CONSTANTS . COMPONENT_ADD_STATE , componentName , key , initialComponentState , } ; }
add a new component state with optional initialComponentState to the store
 @param {string} componentName : name of the component
 @param {string} key : identifier of state used by this component
 @param {object} initialComponentState : initial state of the component if required
add a new component state with optional initialComponentState to the store @param { string } componentName : name of the component @param { string } key : identifier of state used by this component @param { object } initialComponentState : initial state of the component if required