structyl

No SSR API

View component

The full prop reference for the No SSR component. Defers rendering until after mount.

Import

tsx
import { NoSSR } from '@structyl/styled';

Props

NoSsr

Client-only renderer.

PropTypeDefault
fallback#React.ReactNode

Rendered until mounted.

null
defer#boolean

Wait one animation frame before rendering children.

false

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library