Skip to content

Commit 48e2417

Browse files
HuxproSimek
andauthored
Update hermes.md to include RN compatibility (facebook#2361)
* Update hermes.md to include RN compatibility Hermes works more reliably following the versions explicitly documented in its releases page. This is suggested by the community at facebook/hermes#33 (comment) * port the addition to the base docs Co-authored-by: Bartosz Kaszubowski <[email protected]>
1 parent 3c72887 commit 48e2417

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/hermes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ First, ensure you're using at least version 0.60.4 of React Native.
1313

1414
If you have an existing app based on an earlier version of React Native, you will have to upgrade it first. See [Upgrading to new React Native Versions](/docs/upgrading) for how to do this. Make especially sure that all changes to `android/app/build.gradle` have been applied, as detailed by the [React Native upgrade helper](https://react-native-community.github.io/upgrade-helper/?from=0.59.0). After upgrading the app, make sure everything works before trying to switch to Hermes.
1515

16+
> ## Note for RN compatibility.
17+
>
18+
> Each Hermes release is aimed at a specific RN version. The rule of thumb is to always follow [Hermes releases](https://github.com/facebook/hermes/releases) strictly. Version mismatch can result in instant crash of your apps in the worst case scenario.
19+
1620
> ## Note for Windows users.
1721
>
1822
> Hermes requires [Microsoft Visual C++ 2015 Redistributable](https://www.microsoft.com/en-us/download/details.aspx?id=48145)

website/versioned_docs/version-0.63/hermes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ First, ensure you're using at least version 0.60.4 of React Native.
1313

1414
If you have an existing app based on an earlier version of React Native, you will have to upgrade it first. See [Upgrading to new React Native Versions](/docs/upgrading) for how to do this. Make especially sure that all changes to `android/app/build.gradle` have been applied, as detailed by the [React Native upgrade helper](https://react-native-community.github.io/upgrade-helper/?from=0.59.0). After upgrading the app, make sure everything works before trying to switch to Hermes.
1515

16+
> ## Note for RN compatibility.
17+
>
18+
> Each Hermes release is aimed at a specific RN version. The rule of thumb is to always follow [Hermes releases](https://github.com/facebook/hermes/releases) strictly. Version mismatch can result in instant crash of your apps in the worst case scenario.
19+
1620
> ## Note for Windows users.
1721
>
1822
> Hermes requires [Microsoft Visual C++ 2015 Redistributable](https://www.microsoft.com/en-us/download/details.aspx?id=48145)

0 commit comments

Comments
 (0)