Last active
August 16, 2016 01:39
-
-
Save jbaxleyiii/5e3de10144a08ef809e8783e3865855b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { renderToStringWithData } from "react-apollo/server" | |
// during request | |
renderToStringWithData(app).then(markup => { | |
// send markup to client | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment