I find it useful to be able to print/modify the Redux store via Chrome Dev Tools's console, however to do this I have to copy the store in the window component as follows:
window.store = store;
render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById("root")
);
this way I can later use the console to print for instance the content of the store with window.store.getState():
How can I access the store inside the provider directly via the console?
