-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: todo example #353
feat: todo example #353
Conversation
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
@@ -0,0 +1,4 @@ | |||
.DS_Store |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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.
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 😆 |
I SEE YOU ETHAN |
Why didn't we just merge this again? |
I don't know 👋 hey Jimmy |
tbh i didn't realize this was here I would have used it in #407 where I added half of this |
No description provided.