close

NoSSR deprecated

Deprecated

NoSSR is deprecated. Use BrowserOnly instead.

NoSSR is used to skip server-side rendering of its subtree.

Usage

index.mdx
import { NoSSR } from '@rspress/core/runtime';

<NoSSR>
  <ThirdPartyWidget />
</NoSSR>

See also

  • BrowserOnly — render content only in the browser after hydration.