-
Notifications
You must be signed in to change notification settings - Fork 10
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
Does this work with Relay v3.0.0? #12
Comments
OK, after debugging ReactRelayQueryRenderer, I discovered that our problem is at https://github.com/facebook/relay/blob/master/packages/react-relay/ReactRelayQueryRenderer.js#L144 For some reason But I'm not sure how to actually fix this. If anyone has any thoughts I'd very much appreciate it! |
Maybe
|
@jgcmarins Yes that seems to be the case. I'm trying to work out why no-one else is reporting an issue with this though. Surely a lot of people are doing SSR with |
I'm using https://github.com/relay-tools/relay-hooks. There was a ssr related issue that just got resolved relay-tools/relay-hooks#7 and I got relay 4.0.0 to render properly with cached data. |
Hi, thank you for creating this library. We're having trouble with getting it to work and are wondering if it will work with Relay v3.0.0? We're able to get the expected data back from the cache via:
const relayData = await relayEnvironment.relaySSRMiddleware.getCache();
however when running the second render:
our QueryRenderer's render function does not receive any props:
In the browser, with JS disabled, we just see "Loading". Of course with JS enabled, our page hydrates as needed.
Any help or guidance you could provide would be greatly appreciated!
The text was updated successfully, but these errors were encountered: