mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
Update renderers.md
This commit is contained in:
parent
9d35339930
commit
fe7769b84d
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ function check(Component, props, childHTML) {
|
||||||
|
|
||||||
### `renderToStaticMarkup`
|
### `renderToStaticMarkup`
|
||||||
|
|
||||||
`renderToStaticMarkup` is a function that renders a Component to a static string of HTML. You don't need to worry about hydration
|
`renderToStaticMarkup` is a function that renders a Component to a static string of HTML. There's usually a method exported by frameworks named something like `renderToString`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { renderToString } from 'xxx';
|
import { renderToString } from 'xxx';
|
||||||
|
|
Loading…
Reference in a new issue