Open ipostol opened 8 years ago
Yes, it should work even in node environment. You can just set realtime
parameter to true
and it will work:
createStore(reducer, devTools({ realtime: true }))
Just make sure not to have it in production, as it will affect the performance.
I will use them in pre-production. For debug in nw. I am have next code in prod env:
store = compose(
applyMiddleware(clientMiddleware(socket), promiseMiddleware),
reduxReactRouter({
getRoutes,
createHistory
}),
persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/)),
devTools({
name: `My name`, realtime: true
})
)(createStore)(reducers);
If i am start this in browser all be ok, mb sometime chrome extension not found application. But if i am start this in NW chrome extension not found anything.
I'm using it successfully on Electron. If you publish a repo I could run, I'll take a look what blocks sending actions there.
I will do it later, course now i haven`t open source code. Thank you for response.
Hello, i am have some redux project, and our production started on NW. Can i use remote-devtools for them? Now i am try do it but it don`t work :(