mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9a60038a40
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47624 Changelog: [iOS][Fixed] - fix `r` & `d` not working from Metro sometimes While investigating these bugs, I've come across some cases where `r` (Reload) & `d` (Open Dev Menu) not working in Metro. * T206141946 / [WP: Reconnecting dev tools does not work after restarting the app](https://fb.workplace.com/groups/rn.debugger.feedback/posts/1107620434125533) * T206754760 / [WP: Can't launch DevTools from Metro sometimes](https://fb.workplace.com/groups/rn.debugger.feedback/posts/1112235073664069/) This is because when we 1. Start app without Metro 1. Start Metro 1. Reload from Dev Menu (rage shake) `RCTPackagerConnection` did not get notified about the change in bundle URL. It'd stay "listening" to the commands from the local bundle instead of Metro . Reviewed By: robhogan Differential Revision: D65973309 fbshipit-source-id: a67a58b405bb78dfe56b814f2ec0bbee9e530e46
Where is the template?
The React Native Template has moved from being shipping inside the react-native package to it's own package: @react-native-community/template.
Why has it moved?
The React Native Frameworks RFC0759 provides background information.
When was it moved?
The 0.75 release.