https://github.com/oakmac/react-state-examples
Teach some common state management patterns using React
https://github.com/oakmac/react-state-examples
Last synced: about 1 year ago
JSON representation
Teach some common state management patterns using React
- Host: GitHub
- URL: https://github.com/oakmac/react-state-examples
- Owner: oakmac
- License: isc
- Created: 2019-02-22T02:25:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-27T16:09:42.000Z (over 2 years ago)
- Last Synced: 2025-05-07T10:14:53.273Z (about 1 year ago)
- Language: Clojure
- Homepage: https://oakmac.com/react-state-examples/
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React State Examples
> TODO: I put this together in a few hours; it needs polish
This is a teaching exercise for students to build some basic React examples that require managing state.
This project is written using [re-frame] so students can't copy the code :laughing:
Their goal is to re-implement the logic using [create-react-app] and vanilla React components with `state` and `props`
The built application can be seen here: https://oakmac.com/react-state-examples/
[re-frame]:https://github.com/Day8/re-frame
[create-react-app]:https://github.com/facebook/create-react-app
#### Components
- Tabs
- Static component
- Adjustable number of paragraphs
- a basic Login Form
- editable list of fun people
## Development Setup
Install [shadow-cljs], then `shadow-cljs release app`
[shadow-cljs]:http://shadow-cljs.org/
## License
[ISC License](LICENSE.md)