From c4ac4ea6ba4092e9b5b650a325b1c0e30ae6a291 Mon Sep 17 00:00:00 2001 From: Juozas Varonenka <62422245+jvaronenka@users.noreply.github.com> Date: Tue, 30 Sep 2025 15:50:57 +0300 Subject: [PATCH 1/2] Simplify JavaScriptCore opt-out instructions Removed detailed instructions for switching back to JavaScriptCore from Hermes. --- website/versioned_docs/version-0.81/hermes.md | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/website/versioned_docs/version-0.81/hermes.md b/website/versioned_docs/version-0.81/hermes.md index 53bfe9c18bd..d0ba5d173e1 100644 --- a/website/versioned_docs/version-0.81/hermes.md +++ b/website/versioned_docs/version-0.81/hermes.md @@ -92,27 +92,4 @@ This will compile JavaScript to Hermes Bytecode during build time which will imp ## Switching back to JavaScriptCore -React Native also supports using JavaScriptCore as the [JavaScript engine](javascript-environment). Follow these instructions to opt-out of Hermes. - -### Android - -Edit your `android/gradle.properties` file and flip `hermesEnabled` back to false: - -```diff -# Use this property to enable or disable the Hermes JS engine. -# If set to false, you will be using JSC instead. -hermesEnabled=false -``` - -### iOS - -Edit your `ios/Podfile` file and make the change illustrated below: - -```diff - use_react_native!( - :path => config[:reactNativePath], -+ :hermes_enabled => false, - # An absolute path to your application root. - :app_path => "#{Pod::Config.instance.installation_root}/.." - ) -``` +React Native also supports using JavaScriptCore as the [JavaScript engine](javascript-environment). Follow the instructions to opt-out of Hermes: https://github.com/react-native-community/javascriptcore From 3d25e50b6474ffb987d2c10c7e632c89558e4ad3 Mon Sep 17 00:00:00 2001 From: Juozas Varonenka Date: Wed, 1 Oct 2025 09:18:06 +0300 Subject: [PATCH 2/2] Updated unversioned docs as well Updated the way the link to community repo appears visually --- docs/hermes.md | 25 +------------------ website/versioned_docs/version-0.81/hermes.md | 2 +- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/docs/hermes.md b/docs/hermes.md index 53bfe9c18bd..ba909ed0255 100644 --- a/docs/hermes.md +++ b/docs/hermes.md @@ -92,27 +92,4 @@ This will compile JavaScript to Hermes Bytecode during build time which will imp ## Switching back to JavaScriptCore -React Native also supports using JavaScriptCore as the [JavaScript engine](javascript-environment). Follow these instructions to opt-out of Hermes. - -### Android - -Edit your `android/gradle.properties` file and flip `hermesEnabled` back to false: - -```diff -# Use this property to enable or disable the Hermes JS engine. -# If set to false, you will be using JSC instead. -hermesEnabled=false -``` - -### iOS - -Edit your `ios/Podfile` file and make the change illustrated below: - -```diff - use_react_native!( - :path => config[:reactNativePath], -+ :hermes_enabled => false, - # An absolute path to your application root. - :app_path => "#{Pod::Config.instance.installation_root}/.." - ) -``` +React Native also supports using JavaScriptCore as the [JavaScript engine](javascript-environment). Follow the instructions [from the community repository](https://github.com/react-native-community/javascriptcore) to opt-out of Hermes. diff --git a/website/versioned_docs/version-0.81/hermes.md b/website/versioned_docs/version-0.81/hermes.md index d0ba5d173e1..ba909ed0255 100644 --- a/website/versioned_docs/version-0.81/hermes.md +++ b/website/versioned_docs/version-0.81/hermes.md @@ -92,4 +92,4 @@ This will compile JavaScript to Hermes Bytecode during build time which will imp ## Switching back to JavaScriptCore -React Native also supports using JavaScriptCore as the [JavaScript engine](javascript-environment). Follow the instructions to opt-out of Hermes: https://github.com/react-native-community/javascriptcore +React Native also supports using JavaScriptCore as the [JavaScript engine](javascript-environment). Follow the instructions [from the community repository](https://github.com/react-native-community/javascriptcore) to opt-out of Hermes.