zalmoxisus / remote-redux-devtools

Redux DevTools remotely.
http://zalmoxisus.github.io/monitoring/
MIT License
1.8k stars 138 forks source link

store.dispatch would affect the same store #109

Open WanLinLin opened 6 years ago

WanLinLin commented 6 years ago

Hi,

I am using remote-redux-devtools in isomorphic React/Redux app. What I found is that when dispatching actions during server side rendering, concurrent requests would access the same store.

The problem is because the store.dispatch in src/devtools.js wraps the global store's dispatch, and the global store will be reassigned by other requests.

This problem occurs even if the realtime option is true.