From d5f312866be698e59bdc58fca0f4dd5aed63dd35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 2 Dec 2015 11:14:22 -0800 Subject: [PATCH] Merge pull request #5584 from zwhitchcox/patch-2 Update ref-10-glossary.md (cherry picked from commit 3ca15b00900a09b5805212566bb70b1e12282d1d) --- docs/docs/ref-10-glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/ref-10-glossary.md b/docs/docs/ref-10-glossary.md index 7c1fae3da3..f5e5533053 100644 --- a/docs/docs/ref-10-glossary.md +++ b/docs/docs/ref-10-glossary.md @@ -133,7 +133,7 @@ var componentB = ReactDOM.render(, document.getElementById('examp componentA === componentB; // true ``` -This is why you shouldn't construct your own instance. Instead, `ReactElement` is a virtual `ReactComponent` before it gets constructed. An old and new `ReactElement` can be compared to see if a new `ReactComponent` instance is created or if the existing one is reused. +This is why you shouldn't construct your own instance. Instead, `ReactElement` is a virtual `ReactComponent` before it gets constructed. An old and new `ReactElement` can be compared to see if a new `ReactComponent` instance should be created or if the existing one should be reused. The `render` method of a `ReactComponent` is expected to return another `ReactElement`. This allows these components to be composed. Ultimately the render resolves into `ReactElement` with a `string` tag which instantiates a DOM `Element` instance and inserts it into the document.