Skip to content

Commit

Permalink
update hermes documentation (#904)
Browse files Browse the repository at this point in the history
## Description
update hermes documentation since it is now the default JS engine.

---------

Co-authored-by: Jon Thysell <jthysell@microsoft.com>
  • Loading branch information
TatianaKapos and jonthysell authored Dec 8, 2023
1 parent a6048f6 commit 47b701a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/hermes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ To learn more about what it is and how to use it, check out the [React Native](h

## Hermes on Windows:

Hermes is experimentally supported on Windows, generally providing better performance characteristics than the default Chakra engine.
Hermes is supported on Windows, generally providing better performance characteristics than the default Chakra engine.

### Enabling Hermes for new projects

Pass the `--useHermes` flag to `react-native-windows-init` when creating a new project. This will set up your project to use the Hermes engine and to generate bundles as Hermes bytecode instead of JavaScript.
Hermes is enabled by default for React Native Windows project.

### Using Hermes in an existing project

Expand All @@ -30,7 +30,7 @@ Set the `UseHermes` property to `true` in the `ExperimentalFeatures.props` file

### Disabling Hermes

Set the `UseHermes` property to `false` in the `ExperimentalFeatures.props` file in your project's `windows` directory:
To revert back to using Chakra, set the `UseHermes` property to `false` in the `ExperimentalFeatures.props` file in your project's `windows` directory:

```xml
<PropertyGroup Label="Microsoft.ReactNative Experimental Features">
Expand Down

0 comments on commit 47b701a

Please sign in to comment.