@samitouri / QOS-React-2 / commits / 84e6a392a3

Fix in docs: getDOMNode --> findDOMNode

Stefan Dombrowski committed Mar 12, 2015 at 22:07 UTC 84e6a392a3a8558948b94642d1524a5709149f84
1 file changed +1 -1
docs/docs/ref-01-top-level-api.md
+1 -1
@@ -137,7 +137,7 @@ Verifies the object is a ReactElement.
137 ```javascript
138 DOMElement findDOMNode(ReactComponent component)
139 ```
140 -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`.
140 +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`.
141
142
143 ### React.DOM