-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Perf Monitor - persist visibility over reload #24024
Labels
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.59 and verify if the issue still exists. The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
|
It would be great if you could create a PR with this solution, discussion on the change can happen there. Thanks for investigating this! |
facebook-github-bot
pushed a commit
that referenced
this issue
Mar 21, 2019
Summary: Fix for this issue I rasied: #24024 When I toggle `Show Perf Monitor` and reload JS `CMD+R` the Perf Monitor will be hidden, but settings in dev menu will persist. So to fix this state and need to `Hide Perf Monitor` and `Show Perf Monitor` again to see it. [iOS] [Fixed] - Show Perf Monitor, after reloading JS Pull Request resolved: #24073 Differential Revision: D14560025 Pulled By: cpojer fbshipit-source-id: cd5602bd6ee041b8b3e61d163d10bd8bc47237b9
kelset
pushed a commit
that referenced
this issue
Mar 29, 2019
Summary: Fix for this issue I rasied: #24024 When I toggle `Show Perf Monitor` and reload JS `CMD+R` the Perf Monitor will be hidden, but settings in dev menu will persist. So to fix this state and need to `Hide Perf Monitor` and `Show Perf Monitor` again to see it. [iOS] [Fixed] - Show Perf Monitor, after reloading JS Pull Request resolved: #24073 Differential Revision: D14560025 Pulled By: cpojer fbshipit-source-id: cd5602bd6ee041b8b3e61d163d10bd8bc47237b9
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐛 Bug Report
When I toggle
Perf Monitor
ON, it will not be visible after I reload/refresh the JS bundle (CMD+R
), but option in Dev Menu will persist the state correctly.To Reproduce
CMD+D
Show Perf Monitor
CMD+R
Expected Behavior
Perf Monitor should be visible after reloading. The Dev Menu is correctly showing
Hide Perf Monitor
.Quick Fix
Persist the Perf Monitor:
RCTPerfMonitor.m
finddevMenuItem
and put this lineafter:
Environment
The text was updated successfully, but these errors were encountered: