No SSR
The No-SSR component defers the rendering of children components from the server to the client.
NoSsr API
Import
import { NoSsr } from '@mui/base/NoSsr';
// or
import { NoSsr } from '@mui/base';
Name | Type | Default | Description |
---|---|---|---|
children | node | You can wrap a node. | |
defer | bool | false | If |
fallback | node | null | The fallback content to display. |
The component cannot hold a ref.