Replies: 1 comment 5 replies
-
An update from me, I rewrote my Next.js page to just use In other words, the Somebody should probably update the example to incorporate |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've started writing an application following the with-relay-modern example, and the
withData
HOC works for fetching data, and the Relay store is properly hydrated on the client side, but the UI doesn't appear to update when mutating the store. I have written a simple updater that looks like this:This works, I have confirmed from the debug statement at the bottom that the local object that my UI is built from was successfully updated, but my UI doesn't refresh.
I noticed that the example doesn't actually include a
QueryRenderer
anywhere. Isn't that required for the view to update when the store changes?If somebody could confirm that the example doesn't actually work when mutating the store that would be immensely helpful, because otherwise I'm completely lost as to why my UI isn't refreshing...
Beta Was this translation helpful? Give feedback.
All reactions