1 | ---
|
2 | title: SSR
|
3 | isExperimentalPackage: true
|
4 | ---
|
5 |
|
6 | ## renderStatic
|
7 |
|
8 | Function that takes the HTML of a page (as a string) and returns:
|
9 |
|
10 | - `html`: (type: `string`) original HTML that was passed in
|
11 | - `ids`: (type: `Array<string>`) array of ids (class names referencing styles
|
12 | created by Emotion)
|
13 | - `css`: (type: `string`) CSS generated by Emotion from the static HTML string
|
14 | that was passed to it
|