console.log('actions');

@@ -1,24 +1,611 @@
-console.log('actions');
+import fetch from 'isomorphic-fetch';%0Aconsole.log('actions');%0A%0A%0Aexport const REQUEST_ENTITY = 'REQUEST_ENTITY';%0Aexport const RECEIVE_ENTITY = 'RECEIVE_ENTITY';%0A%0Afunction requestEntity(%7Bid%7D)%7B%0A  return %7Btype: REQUEST_ENTITY, payload: %7Bid%7D%7D;%0A%7D%0A%0Afunction receiveEntity(%7Bid%7D)%7B%0A  return %7Btype: RECEIVE_ENTITY, payload: %7Bid%7D%7D;%0A%7D%0A%0A%0Aexport function fetchEntity(%7Bid%7D)%7B%0A  return function middleWareFetchCall(dispatch)%7B%0A    dispatch(requestEntity(%7Bid%7D));%0A    return fetch(%60http://localhost:9999/x/entity/$%7Bid%7D%60)%0A            .then(response =%3E response.json())%0A            .then(json =%3E dispatch(receiveEntity(json)));%0A  %7D%0A%7D
 %0A

Add actions