SolidJSS
SolidJSโ€ข6mo agoโ€ข
1 reply
exercise

entry-server.tsx does not run when ssr: false

is this a bug or intentional? if intentional, why?
import { createHandler, StartServer } from "@solidjs/start/server";

export default createHandler(() => {
  console.log("this does not run if ssr: false");

  return <StartServer document={({ assets, children, scripts }) => <></>} />;
});
Was this page helpful?