Browse Source

Fix a typo (#2214)

main
Stavros Tsourlidakis 5 years ago
committed by Sunil Pai
parent
commit
164a82b79b
  1. 2
      content/docs/reference-profiler.md

2
content/docs/reference-profiler.md

@ -73,7 +73,7 @@ render(
## `onRender` Callback ## `onRender` Callback
The `Profiler` requires an `onRender` function as a prop. The `Profiler` requires an `onRender` function as a prop.
React calls calls this function any time a component within the profiled tree "commits" an update. React calls this function any time a component within the profiled tree "commits" an update.
It receives parameters describing what was rendered and how long it took. It receives parameters describing what was rendered and how long it took.
```js ```js

Loading…
Cancel
Save