Skip to content

v0.9.0

Latest
Compare
Choose a tag to compare
@lxsmnsyc lxsmnsyc released this 02 Sep 17:05
· 1 commit to main since this release
566361c
  • This release adds a new solid-use/client-only primitive called clientComponent, 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>);