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
The callback () => relayData[0][1] passed to Network.create is never called.
// Third, render the app a second time now that the Relay store has been primed
// and send HTML and bootstrap data to the client for rehydration.
const appHtml = ReactDOMServer.renderToString(
<App
relayEnvironment={new Environment({
network: Network.create(() => relayData[0][1]), //NEVER CALLED!
store,
})}
/>
);
Does this package work with last version of relay?
The code in documentation won't work for me with the current version of relay
The callback
() => relayData[0][1]
passed toNetwork.create
is never called.here my code (ssr-break) branch .
I solved using
fetchQuery
fromrelay-runtime
thenrenderToString
once.The text was updated successfully, but these errors were encountered: