put closing paren in correct place

(cherry picked from commit 07427ae9d0)
This commit is contained in:
Hugo Jobling
2013-07-18 10:44:22 +01:00
committed by Paul O’Shannessy
parent fae1c48470
commit 3d78d30f49
+1 -1
View File
@@ -107,7 +107,7 @@ We pass some methods in a JavaScript object to `React.createClass()` to create a
The `<div>` tags are not actual DOM nodes; they are instantiations of React `div` components. You can think of these as markers or pieces of data that React knows how to handle. React is **safe**. We are not generating HTML strings so XSS protection is the default.
You do not have to return basic HTML. You can return a tree of components that you (or someone else built). This is what makes React **composable**: a key tenet of maintainable frontends.
You do not have to return basic HTML. You can return a tree of components that you (or someone else) built. This is what makes React **composable**: a key tenet of maintainable frontends.
`React.renderComponent()` instantiates the root component, starts the framework, and injects the markup into a raw DOM element, provided as the second argument.