https://github.com/flgmwt/simple-react-redux-seed
https://github.com/flgmwt/simple-react-redux-seed
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flgmwt/simple-react-redux-seed
- Owner: FLGMwt
- Created: 2017-07-12T03:55:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T20:55:01.000Z (almost 8 years ago)
- Last Synced: 2025-01-17T00:28:28.850Z (4 months ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redux Demo
## Setup
- `git clone {thisRepo}`
- `cd {this repo}`
- `yarn` or `npm install`
- `yarn run start` or `npm 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 app
- `counter-app-complicated`: a counter component w/ a sibling renderer
- `counter-app-redux`: A simple counter React app using Redux for state
- `counter-app-redux-complicated`: a counter component w/ a sibling renderer using Redux for stateLeave one of the `ReactDOM.render` lines uncommented to see that application in the browser.