Update src/content/reference/react-markup/renderToHTML.md

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
Strek
2024-08-14 17:16:27 +05:30
committed by GitHub
parent be631ebd80
commit a3197e8779

View File

@@ -30,7 +30,7 @@ You can also use it during Client-Side Rendering but only without Server Compone
When a `<html>` tag is rendered, `renderToHTML` will automatically add `<!DOCTYPE html>` doctype.
```js
import { experimental_renderToHTML as renderToHTML } from 'react-dom/server';
import { experimental_renderToHTML as renderToHTML } from 'react-markup';
const markup = await renderToHTML(<App />);
```