Skip to content
+

No SSR

The No-SSR component defers the rendering of children components from the server to the client.

  • Bundle size
Component demosComponents API

NoSsr API

Import

import { NoSsr } from '@mui/base/NoSsr';
// or
import { NoSsr } from '@mui/base';
Learn about the difference by reading this guide on minimizing bundle size.

Props

children

You can wrap a node.

Type:node


defer

If true, the component will not only prevent server-side rendering. It will also defer the rendering of the children into a different screen frame.

Type:bool

Default:false


fallback

The fallback content to display.

Type:node

Default:null



The component cannot hold a ref.
Edit this page

Was this page helpful?


ModalPopper

Blog

Store