NoSSR
The NoSSR component can be used to exclude its content from being rendered on the server.
import { NoSSR } from '@archibald/client';
<NoSSR fallback={FALLBACK}>CHILDREN</NoSSR>;
Props
The NoSSR component can receive following props:
| Property | Type | Optional | Description |
|---|---|---|---|
| children | ReactNode | Content to render. | |
| fallback | ReactElement | null | ✔️ | Content that should be shown instead of the children. |