function errorIfMergingStateDoesntExist(state, action) {
	if (!state.getIn([action.componentName, action.key])) {
		invariant(
			process.env.NODE_ENV === 'production',
			`Error, the component ${action.componentName} try to mutate a non existing
 State namespace ${action.key}, this namespace may be not yet created or already removed.`,
		);
	}
}
/**
 * given the state and action, determine if a component try to update a state namespace that
 * doesn't exist, throw an errror at dev time since such a behavior may lead to unintended bug
 * or runtime errors later on app execution.
 * @param {Object} state the CMF application state
 * @param {Object} action a redux action
 */
given the state and action, determine if a component try to update a state namespace that
doesn't exist, throw an errror at dev time since such a behavior may lead to unintended bug
or runtime errors later on app execution.
@param {Object} state the CMF application state
@param {Object} action a redux action
given the state and action determine if a component try to update a state namespace that doesn ' t exist throw an errror at dev time since such a behavior may lead to unintended bug or runtime errors later on app execution . @param { Object } state the CMF application state @param { Object } action a redux action
function errorIfMergingStateDoesntExist(state, action) {
	if (!state.getIn([action.componentName, action.key])) {
		invariant(
			process.env.NODE_ENV === 'production',
			`Error, the component ${action.componentName} try to mutate a non existing
 State namespace ${action.key}, this namespace may be not yet created or already removed.`,
		);
	}
}
function errorIfMergingStateDoesntExist ( state , action ) { if ( ! state . getIn ( [ action . componentName , action . key ] ) ) { invariant ( process . env . NODE_ENV === 'production' , ` ${ action . componentName } ${ action . key } ` , ) ; } }
given the state and action, determine if a component try to update a state namespace that
 doesn't exist, throw an errror at dev time since such a behavior may lead to unintended bug
 or runtime errors later on app execution.
given the state and action determine if a component try to update a state namespace that doesn ' t exist throw an errror at dev time since such a behavior may lead to unintended bug or runtime errors later on app execution .