Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(profiling): enable profiling measurement charts if measurements …
…are sent (#71258) React native uses javascript as the platform value which is used both by browser sdk which doesnt report cpu and memory measures. This means we cant know ahead of time if we expect the measurements and simply enable the charts (this toggles loading and the various no measurement states). In order to not enable these charts for browser SDKs and confuse users, we take a different approach and enable the charts on demand, once the data has loaded. We miss out on some of the loading states, but this all happens pretty fast as the profile loads, so I dont think it's a big deal in terms of UX. Fixes #59989
- Loading branch information