Redux Demo
Setup
git clone {thisRepo}
cd {this repo}
yarn
ornpm install
yarn run start
ornpm run start
Switching Pages
src/index.js
should call out (import
) to either react-demo
or make-redux
. Pick one to call and comment out the other.
src/react-demo
calls out to one of four react demo app:
counter-app
: A simple counter React appcounter-app-complicated
: a counter component w/ a sibling renderercounter-app-redux
: A simple counter React app using Redux for statecounter-app-redux-complicated
: a counter component w/ a sibling renderer using Redux for state
Leave one of the ReactDOM.render
lines uncommented to see that application in the browser.