function replaceStores(reactorState, stores) {
	  return reactorState.withMutations(function (reactorState) {
	    (0, _utils.each)(stores, function (store, id) {
	      reactorState.update('stores', function (stores) {
	        return stores.set(id, store);
	      });
	    });
	  });
	}
Overrides the store implementation without resetting the value of that particular part of the app state
this is useful when doing hot reloading of stores.
@param {ReactorState} reactorState
@param {Object<String, Store>} stores
@return {ReactorState}