How do you disable SSR on a specific route/part of a route?
Is there a way to mark a whole route or at least a portion of a route as being client only? I know there's syntax that allows something similar to use but finding documentation on it has been tricky. Halp? π
4 Replies
solid-start exports an
unstable_clientOnly
function which you can use like the lazy
fn from solidThat's the one I was looking for π
I hadn't paid attention but has Ryan mentioned changes to this at all? Will it be around in the future?
There was some talk about use client but I missed the context of it.
ClientOnly is just a wrapper around
lazy
, Suspense
and onMount
, itβll be around even if the api gets removedThanks folks. We really need this documented haha