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)
Sasha Aickin committed
Jun 23, 2017 at 08:07 UTC
55c5cc264b0c583705817d9276838f8764d1b1ae
1 file changed
+1
-1
docs/docs/reference-react-dom-server.md
+1
-1
@@ -10,7 +10,7 @@ If you load React from a `<script>` tag, these top-level APIs are available on t
10
11
## Overview
12
13
-The `ReactDOMServer` class allows you to render your components on the server.
13
+The `ReactDOMServer` object allows you to render your components on the server.
14
15
- [`renderToString()`](#rendertostring)
16
- [`renderToStaticMarkup()`](#rendertostaticmarkup)