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 53bfe9c18bd..ba909ed0255 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 [from the community repository](https://github.com/react-native-community/javascriptcore) to opt-out of Hermes.