Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Update redux-store.html o support REDUX DEV TOOLS Chrome extension #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions ep61-redux/redux-store.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
return Object.assign({}, state, { friends: friends });
}
}
const store = Redux.createStore(reducer);
const store = Redux.createStore(
reducer, /* preloadedState, */
window.devToolsExtension && window.devToolsExtension()
);
const ReduxBehavior = PolymerRedux(store);
</script>
</script>