Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f367e2

Browse files
committed
Merge pull request facebook#3011 from koba04/fix-coponent-api-doc
Fix consistency of component api document
1 parent 2958c0f commit 3f367e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/ref-02-component-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ replaceState(object nextState[, function callback])
3939
Like `setState()` but deletes any pre-existing state keys that are not in nextState.
4040

4141

42-
### forceUpdate()
42+
### forceUpdate
4343

4444
```javascript
4545
forceUpdate([function callback])
@@ -61,7 +61,7 @@ DOMElement getDOMNode()
6161
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`.
6262

6363

64-
### isMounted()
64+
### isMounted
6565

6666
```javascript
6767
bool isMounted()

0 commit comments

Comments
 (0)