New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation for the useProfiler hook #3408
Comments
Also curious about this, and specifically inside React Native since it's re-exported inside of that? I've implemented it in a test component and am not seeing any data coming out of it - any usage suggestions? |
Hey - we have not documented the Once the profiler hook is in a better place, we will add documentation. |
Any plans to update the |
👋 Hey, @AbhiPrasad !
Is there any public discussion of the limitations? If the limitations can be addressed, maybe some contributions would be accepted to address them? |
Hey folks, sorry for the delay on this. I initially added the Profiler hook as an experiment while I was building out the At the current moment the Profiler HOC produces 3 types of spans:
The In addition, it also might be worthwhile to examine the entire premise of this profiler component in general while we do this. We've been testing using the actual React Profiler API on our frontend and it's been pretty successful. This does require folks to switch to using the profiling bundle though, so there is that. |
closing issue, since as Abhi shared it was an experiment from some time back, We can re-open should there be a change in this area |
Looking at this PR I found that
useProfiler
has been merged since June last year.Looking at the documentation though I can't find any information about it.
Is it safe to use?
The text was updated successfully, but these errors were encountered: