)); const initialState = client.extract(); const styleTags = sheet.getStyleTags(); sheet.seal();
const helmet = Helmet.renderStatic(); const initialState = client.extract(); const html = <HTML content={content} state={initialState} helmet={helmet} />;
try { await getDataFromTree(jsx); apolloState = apolloClient.extract(); } catch (error) {
const initialState = apolloClient.extract(); const helmet = Helmet.renderStatic();
const html = await renderToStringWithData(element); const styleElement = getStyleElement(); const apolloState = client.extract(); return { html, apolloState, styleElement }; } catch (e) {
const initialState = apolloClient.extract();
apiUrl: config.api.clientUrl, state: context.store.getState(), apolloState: context.client.extract(), };