📜  github redux devtools - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:54.438000             🧑  作者: Mango

代码示例1
const store = createStore(
   reducer, /* preloadedState, */
+  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
 );