remote-redux-devtools icon indicating copy to clipboard operation
remote-redux-devtools copied to clipboard

the devtools share all state history of other device

Open jacobcyl opened this issue 8 years ago • 1 comments

We use the devtools, but when I open the devtools , I found the Inspector appear many other devices state log which were my teammates device create. I mean the devtools share all other devices state log.

How to set it only listen to my device and only show my state history?

jacobcyl avatar Jan 12 '17 08:01 jacobcyl

By default you send data via remotedev.io, which restricts logs to your current IP address. A simple solution is to identify your instance, by providing a name parameter like so:

export default function configureStore(preloadedState) {
  const store = createStore(
    reducer,
    preloadedState,
    devToolsEnhancer({
      name: 'Jacob\'s app'
    })
  );
  return store;
}

If you want it only to run on your part, use a local server.

zalmoxisus avatar Jan 12 '17 09:01 zalmoxisus