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
Visit http://fashionablenonsense.com/relay-todomvc, or clone this repo and run:
yarn
yarn startThen point your browser at http://localhost:8080/.
- Most of the code is taken directly from the official example and falls under the license there.
- The
yarn startcommand runs webpack-dev-server, and accepts other options, e.g.yarn start --port 5000.