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:
parent
9d35339930
commit
fe7769b84d
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue