An open API service indexing awesome lists of open source software.

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

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)