Created
June 22, 2021 10:52
-
-
Save marekpiechut/7f18ebdf59514fdeaedc3ed49f4e7752 to your computer and use it in GitHub Desktop.
React-profiler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Profiler | |
| id="user-profile" | |
| onRender={( | |
| id, | |
| phase, | |
| actualTime, | |
| baseTime, | |
| startTime, | |
| commitTime, | |
| interactions | |
| ) => aggregatePerformance(id, phase, actualDuration, interactions)} | |
| > | |
| <UserProfile user={user} /> | |
| </Profiler> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment