Skip to content

Commit

Permalink
Squashed 'examples/todomvc-classic/' changes from 6d89772..6e0a43a
Browse files Browse the repository at this point in the history
6e0a43a Merge branch 'master' into found-classic
668f02a Downgrade graphql
57f77eb Merge branch 'found-modern'
4d2f7d8 Update dependencies
e6d4e86 Use Found Relay Modern
8634bba Merge pull request #21 from taion/update-readme
597aeef Add found-modern-universal [ci skip]
2394893 Merge pull request #20 from taion/update-README
b265b6f Update project naming in README [ci skip]
671f3c2 Merge pull request #19 from taion/update-README
cc249f3 Update README [ci skip]

git-subtree-dir: examples/todomvc-classic
git-subtree-split: 6e0a43a2196164ab570840db35fab9d55c0ed2ac
  • Loading branch information
taion committed Jan 9, 2018
1 parent 3231b83 commit b939c00
Show file tree
Hide file tree
Showing 23 changed files with 6,902 additions and 1,501 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": [
"./tools/latestPreset",
"./tools/envPreset",
"stage-2",
"react"
],
Expand Down
11 changes: 10 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"extends": "4catalyzer-react",
"extends": [
"4catalyzer-react",
"prettier"
],
"plugins": [
"prettier"
],
"env": {
"browser": true
},
"rules": {
"prettier/prettier": "error"
}
}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ build/Release
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

# Webpack output
build
# Build output.
/build
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# relay-todomvc
# Relay TodoMVC
Relay TodoMVC with routing.

This repo includes multiple examples on separate branches:

- [`found-modern`](https://github.com/taion/relay-todomvc/tree/found-modern): Relay Modern with [Found] and [Found Relay]
- [`found-modern-universal`](https://github.com/taion/relay-todomvc/tree/found-modern-universal): Relay Modern with server-side rendering with [Found] and [Found Relay]
- [`found-classic`](https://github.com/taion/relay-todomvc/tree/found-classic): Relay Classic with [Found] and [Found Relay]
- [`found`](https://github.com/taion/relay-todomvc/tree/found): Legacy Relay with [Found] and [Found Relay]
- [`react-router`](https://github.com/taion/relay-todomvc/tree/react-router): Relay Classic with [React Router](https://reacttraining.com/react-router/) and [`react-router-relay`](https://github.com/relay-tools/react-router-relay)

## Usage

Visit http://fashionablenonsense.com/relay-todomvc, or clone this repo and run:
Expand All @@ -16,3 +24,6 @@ Then point your browser at [http://localhost:8080/](http://localhost:8080/).

- Most of the code is taken directly from [the official example](https://github.com/relayjs/relay-examples/tree/master/todo) and falls under [the license there](https://github.com/relayjs/relay-examples/tree/master/todo#license).
- The `npm start` command runs webpack-dev-server, and accepts other options, e.g. `npm start -- --port 5000`.

[Found]: https://github.com/4Catalyzer/found
[Found Relay]: https://github.com/4Catalyzer/found-relay
Loading

0 comments on commit b939c00

Please sign in to comment.