Duplicates
Latest version
Summary 💡
currently we can do this:
function Home() {
return <h1>Home</h1>;
}
import { clientOnly } from "@solidjs/start";
export default clientOnly(() => Promise.resolve({ default: Home }));
but this doesn't work the same as ssr: false
in ssr: false, initial data fetching happens on the client
with clientOnly data is initially brought by the server
Examples 🌈
No response
Motivation 🔦
No response
Duplicates
Latest version
Summary 💡
currently we can do this:
but this doesn't work the same as
ssr: falsein
ssr: false, initial data fetching happens on the clientwith
clientOnlydata is initially brought by the serverExamples 🌈
No response
Motivation 🔦
No response