mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +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
76b916bf32
commit
61dedda93e
@@ -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