mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
As pointed out by @gaearon in code review comment https://github.com/facebook/react/pull/10024#discussion_r123649131 , ReactDOMServer is an object, not a class. (#10027)
This commit is contained in:
committed by
Dan Abramov
parent
526056d9bb
commit
ee5fefeac4
@@ -10,7 +10,7 @@ If you load React from a `<script>` tag, these top-level APIs are available on t
|
||||
|
||||
## Overview
|
||||
|
||||
The `ReactDOMServer` class allows you to render your components on the server.
|
||||
The `ReactDOMServer` object allows you to render your components on the server.
|
||||
|
||||
- [`renderToString()`](#rendertostring)
|
||||
- [`renderToStaticMarkup()`](#rendertostaticmarkup)
|
||||
|
||||
Reference in New Issue
Block a user