For AI agents: the complete documentation index is available at https://rspress.rs/llms.txt, the full documentation bundle is available at https://rspress.rs/llms-full.txt, and this page is available as Markdown at https://rspress.rs/ui/runtime-components/no-ssr.md.
close
  • English
  • 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.