This submodule contains simple Redux Bank application
-
add redux library
-
reducer (state, action, action.type, action.payload)
-
store (createStore, subscribe, dispatch)
-
-
add react-redux library:
-
connect
-
-
add redux-devtools
-
install chrome extension
-
update store
index.js
const store = createStore(
reducer,
window.__REDUX_DEVTOOLS_EXTENSTION__ && window.__REDUX_DEVTOOLS_EXTENSTION__()
);