Skip to content

feat: todo example - #353

Closed
ethanve wants to merge 4 commits into
masterfrom
feat/example
Closed

feat: todo example#353
ethanve wants to merge 4 commits into
masterfrom
feat/example

Conversation

@ethanve

@ethanve ethanve commented Jun 8, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@ethanve
ethanve requested review from itajaja, jquense and taion June 8, 2020 18:28

@taion taion left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i mostly just skimmed 5451a28...feat/example#diff-75c62265150520cb1789948a67223782R20

it looks like you re-synced the schema to https://github.com/relayjs/relay-examples/blob/master/todo/data/schema/index.js , and otherwise the react code is different in the new subscription logic + the use of relay-network-layer?

@@ -0,0 +1,5 @@
node_modules

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could maybe use the same one as in base. or even just have the base package handle linting here

Comment thread examples/todo/.gitignore
@@ -0,0 +1,4 @@
.DS_Store

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe not needed? shouldn't the base gitignore already handle this stuff?


useEffect(() => {
// initialize subscriptions
const removeDisposable = removeTodoSubscription();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be better to name this as requestRemoveTodoSubscription, &c.

@ethanve

ethanve commented Jun 9, 2020

Copy link
Copy Markdown
Contributor Author

Really just copy/pasted the relay todo example, diffed and copied our flow version, then just got it to work with relay-network-layer. So basically what you said 😆

@ethanve ethanve closed this May 20, 2021
@jquense

jquense commented May 20, 2021

Copy link
Copy Markdown
Member

I SEE YOU ETHAN

@jquense
jquense deleted the feat/example branch May 20, 2021 14:59
@taion

taion commented May 20, 2021

Copy link
Copy Markdown
Contributor

Why didn't we just merge this again?

@jquense

jquense commented May 20, 2021

Copy link
Copy Markdown
Member

I don't know 👋 hey Jimmy

@jquense

jquense commented May 20, 2021

Copy link
Copy Markdown
Member

tbh i didn't realize this was here I would have used it in #407 where I added half of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants