You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
Do you currently have a way to handle writes and updates? Say for instance I want to implement a post box to go along with the news feed example, how could I build that in such a way that the news feed would at least know to re-run it's query?
The text was updated successfully, but these errors were encountered:
Thanks! You've brought up a good point. I haven't looked into how Relay and GraphQL do it officially, but this React issue touches the subject: facebook/react#3398
Sideways data loading (as in data that isn't passed-in as props) is something normally done by binding a component's this.setState to a data store's change event. That basically makes the React component react/observe/listen to newly inserted or otherwise updated data. I haven't brought this concept into Transmit, yet... If the observe API in the above linked React issue makes it into React core, then I'll definitely see if I can use that.
There seem to be a lot of questions regarding this (#4, #13).
It doesn't look like the observable support is going to get into react core so soon, and if it does, I'm not sure if it would mix well with react-transmit being a HOC. I would love to see support for observables in react-transmit itself.
Do you currently have a way to handle writes and updates? Say for instance I want to implement a post box to go along with the news feed example, how could I build that in such a way that the news feed would at least know to re-run it's query?
The text was updated successfully, but these errors were encountered: