mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 20:53:08 +00:00
markdown syntax
Small problem with markdown syntax in syntax-highlighted block.
This commit is contained in:
@@ -108,7 +108,7 @@ Transfer properties from this component to a target component that have not alre
|
||||
#### setState
|
||||
|
||||
```javascript
|
||||
setState(object nextState_[, function callback]_)
|
||||
setState(object nextState[, function callback])
|
||||
```
|
||||
|
||||
Merges nextState with the current state. This is the primary method you use to trigger UI updates from event handlers and server request callbacks. In addition, you can supply an optional callback function that is executed once `setState` is completed.
|
||||
|
||||
Reference in New Issue
Block a user