Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

window.devToolsExtension is obsolete for Redux Dev Tools. #1196

Closed
ngbrown opened this issue Aug 16, 2017 · 2 comments
Closed

window.devToolsExtension is obsolete for Redux Dev Tools. #1196

ngbrown opened this issue Aug 16, 2017 · 2 comments

Comments

@ngbrown
Copy link

ngbrown commented Aug 16, 2017

on

const devToolsExtension = windowIfDefined && windowIfDefined.devToolsExtension as () => GenericStoreEnhancer;

Is obsolete and should be replaced by window.__REDUX_DEVTOOLS_EXTENSION__ or window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__.

See zalmoxisus/redux-devtools-extension#220.

@SteveSandersonMS
Copy link
Member

Thanks - we'll replace/remove it!

@thangchung
Copy link

@ngbrown Thank you. You are saving my day. Actually, I created the project from VS2017.4, but not actually has resolved it. I found out the fixed version at https://github.com/aspnet/templating/blob/dev/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/configureStore.ts#L12, it seems like the correct one has never been pulled when we created the project from VS 2017 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants