Click in order · JavaScript and React course · Module 9: Modern React Hooks
Profiler Component Syntax
Arrange the syntax of the React Profiler component for measuring performance (the id attribute before onRender):
Items to click
- id="MyComponent"
- <MyComponent />
- </Profiler>
- <Profiler
- >
- onRender={callback}
You can check the correct answer by solving this task in the CodeWorlds game.