0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Update renderers.md

This commit is contained in:
Nate Moore 2021-06-04 19:46:13 -05:00 committed by GitHub
parent 9d35339930
commit fe7769b84d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ function check(Component, props, childHTML) {
### `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
import { renderToString } from 'xxx';