Skip to content

Instantly share code, notes, and snippets.

@markbiek
Created March 1, 2018 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markbiek/50a259da1d80d237cdce309c91ecbd1f to your computer and use it in GitHub Desktop.
Save markbiek/50a259da1d80d237cdce309c91ecbd1f to your computer and use it in GitHub Desktop.
remote-redux-devtools config
import { composeWithDevTools } from 'remote-redux-devtools';
//All of your other store setup stuff
const composeEnhancers = composeWithDevTools({ realtime: true });
const store = createStore(
reducers,
composeEnhancers(
applyMiddleware(/* middleware stuff */)
)
);
//The rest of your store stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment