Awesome
Relay TodoMVC
Relay TodoMVC with routing.
This repo includes multiple examples on separate branches:
found-modern
: Relay Modern with Found and Found Relayfound-modern-universal
: Relay Modern with server-side rendering with Found and Found Relayfound-classic
: Relay Classic with Found and Found Relayfound
: Legacy Relay with Found and Found Relayreact-router
: Relay Classic with React Router andreact-router-relay
Usage
Visit http://fashionablenonsense.com/relay-todomvc, or clone this repo and run:
yarn
yarn start
Then point your browser at http://localhost:8080/.
Notes
- Most of the code is taken directly from the official example and falls under the license there.
- The
yarn start
command runs webpack-dev-server, and accepts other options, e.g.yarn start --port 5000
.