i noticed in the ssr docs for apollo graphql the H...
# prisma-whats-new
b
i noticed in the ssr docs for apollo graphql the Html function isnt including the bundle.js
Copy code
function Html({ content, state }) {
  return (
    <html>
      <body>
        <div id="content" dangerouslySetInnerHTML={{ __html: content }} />
        <script dangerouslySetInnerHTML={{
          __html: `window.__APOLLO_STATE__=${JSON.stringify(state).replace(/</g, '\\u003c')};`,
        }} />
      </body>
    </html>
  );
}
without including the bundle.js script, js wont work. But if I do, the queries refetch after the server renders static markup.