UNPKG

395 BMarkdownView Raw
1---
2title: SSR
3isExperimentalPackage: true
4---
5
6## renderStatic
7
8Function 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