Browse Source

Removed redundant grave accent character from Component API docs

main
Daniel Hejl 10 years ago
parent
commit
b2611b0de2
  1. 2
      docs/ref-02-component-api.md

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

@ -31,7 +31,7 @@ It's also possible to pass a function with the signature `function(state, props)
```javascript
setState(function(previousState, currentProps) {
return {myInteger: previousState.myInteger + 1};
});`
});
```
The second (optional) parameter is a callback function that will be executed once `setState` is completed and the component is re-rendered.

Loading…
Cancel
Save