UNPKG

782 BTypeScriptView Raw
1import * as React from 'react';
2import { NoSsrProps } from './NoSsr.types';
3/**
4 * NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
5 *
6 * This component can be useful in a variety of situations:
7 *
8 * * Escape hatch for broken dependencies not supporting SSR.
9 * * Improve the time-to-first paint on the client by only rendering above the fold.
10 * * Reduce the rendering time on the server.
11 * * Under too heavy server load, you can turn on service degradation.
12 *
13 * Demos:
14 *
15 * - [No SSR](https://mui.com/material-ui/react-no-ssr/)
16 *
17 * API:
18 *
19 * - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
20 */
21declare function NoSsr(props: NoSsrProps): React.JSX.Element;
22declare namespace NoSsr {
23 var propTypes: any;
24}
25export default NoSsr;