Skip to main content

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:

PropertyTypeOptionalDescription
childrenReactNodeContent to render.
fallbackReactElement | null✔️Content that should be shown instead of the children.