From eac5bd14991322c7776b4a0d2a951c5fb3f85b92 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Thu, 12 Mar 2015 22:07:03 +0100 Subject: [PATCH] Fix in docs: getDOMNode --> findDOMNode --- docs/ref-01-top-level-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref-01-top-level-api.md b/docs/ref-01-top-level-api.md index 0f91d505..de8bcacb 100644 --- a/docs/ref-01-top-level-api.md +++ b/docs/ref-01-top-level-api.md @@ -137,7 +137,7 @@ Verifies the object is a ReactElement. ```javascript DOMElement findDOMNode(ReactComponent component) ``` -If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements. When `render` returns `null` or `false`, `this.getDOMNode()` returns `null`. +If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements. When `render` returns `null` or `false`, `findDOMNode` returns `null`. ### React.DOM