Relay TodoMVC with routing.
Visit http://fashionablenonsense.com/relay-todomvc, or clone this repo and run:
npm install
npm startThen point your browser at http://localhost:8080/.
- The schema design is intended to demonstrate the use of route parameters. To take full advantage of Relay mutations, you would instead implement this with separate
todos,activeTodos, andcompletedTodosconnections, rather than a single parameterizedtodosconnection. - Most of the code is taken directly from the official example and falls under the license there.
- The
npm startcommand runs webpack-dev-server, and accepts other options, e.g.npm start -- --port 5000.