From 3d78d30f49d8d448cc4e66159ca8a8e799af4f9a Mon Sep 17 00:00:00 2001 From: Hugo Jobling Date: Thu, 18 Jul 2013 10:44:22 +0100 Subject: [PATCH] put closing paren in correct place (cherry picked from commit 07427ae9d029a8af89451c43dab65b61c20904ed) --- docs/docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index 8e640f450a..01362e8361 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -107,7 +107,7 @@ We pass some methods in a JavaScript object to `React.createClass()` to create a The `
` 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.