From 527650171554b07d77d39d0624c979f1592bdc64 Mon Sep 17 00:00:00 2001 From: Fahri Gedik Date: Tue, 14 Oct 2025 13:55:32 +0300 Subject: [PATCH] Add instructions for enabling Fast Refresh in React Native Added a new section explaining how to enable Fast Refresh in React Native using the Developer Menu on Android emulators. Includes adb command, keyboard shortcuts, and step-by-step guidance for developers. --- .../setting-up-android-emulator.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/en/framework/ui/react-native/setting-up-android-emulator.md b/docs/en/framework/ui/react-native/setting-up-android-emulator.md index 8ead542a76..1a35a2ecbb 100644 --- a/docs/en/framework/ui/react-native/setting-up-android-emulator.md +++ b/docs/en/framework/ui/react-native/setting-up-android-emulator.md @@ -111,6 +111,34 @@ adb install myApp.apk --- +## How to Enable Fast Refresh in React Native + +React Native uses a hot reload system called **Fast Refresh**. +It is enabled by default in development mode, but you can manually enable or disable it via the Developer Menu. + +### To open the Developer Menu on Android emulator: + +```bash +adb shell input keyevent 82 +``` + +This command simulates the hardware menu button and opens the Developer Menu inside the emulator. + +### From the Developer Menu: + +- Look for the option: **Enable Fast Refresh** +- If it's unchecked, tap to enable it +- If it's already checked, Fast Refresh is already active + +### Alternative (if adb doesn't work): + +Focus the emulator window and press: + +- **Ctrl + M** (Windows/Linux) +- **Cmd + M** (Mac) + +--- + ## Troubleshooting | Problem | Explanation |