- This release adds a new
solid-use/client-only
primitive calledclientComponent
, a higher-order component utility for creating components that only render on the client-side.
import { clientComponent } from 'solid-use/client-only';
const Example = clientComponent(() => <h1>I'm client only!</h1>);