0.0.7 • Published 9 years ago
redux-action-emit-middleware v0.0.7
Middleware for emitting redux actions over socket
...
import { createStore, applyMiddleware } from 'redux';
import createActionEmitMiddleware from 'redux-action-emit-middleware';
const externalActionMiddleware = createActionEmitMiddleware('http://localhost:3000');
const createStoreWithMiddleware = applyMiddleware(externalActionMiddleware)(createStore);
...