Open hannojg opened 1 year ago
Hello ! I did have the same bug and error, on a screen with the same props (interactive=true) having lot of re-renders :octocat: @hannojg
I found a solution by making sure that
Is there any update on this? I'm seeing the same issue.
@hannojg @jmorey28 managed to solve this issue by making the PerformanceProfiler
outer most provider for the app root.
For me this only happens when I hot reload.
Having the same problem even-though PerformanceProfiler is the outmost provider of the app root. My app is using wix's react-native-navigation though, so that may be a contributing factor.
Current behavior
PerformanceMeasureView
gets mounted withinteractive: true
Expected behavior
It to work and not throw internal errors 🌝❤️
To Reproduce
I thinks it's pretty much related to the amount of re-renders happening before the first measurement can be processed? I can try to isolate the issue in a clean reproduction once I find the time. In the meantime you can try the branch of the project the issue is happening on: https://github.com/margelo/expensify-app-fork/tree/dev/better-performance-metrics
Platform:
Packages
Which packages are affected by the issue?
Environment