React performance
Profiler
Reports rendering measurements for committed updates to a subtree in a profiling-enabled build.
Formal Syntax & Structure
react syntaxreact
<Profiler id="catalogue" onRender={report}><Catalogue /></Profiler>Working Example
Example Snippetreact
<Profiler id="catalogue" onRender={report}><Catalogue /></Profiler>