Skip to content

Commit

Permalink
docs: update link to react native website (facebook#197)
Browse files Browse the repository at this point in the history
Summary:
updated url for `react-native` document.
Pull Request resolved: facebook#197

Reviewed By: davedets

Differential Revision: D20419981

Pulled By: dulinriley

fbshipit-source-id: 88558774b8adbdac0f8379a176a7653ff77f9305
  • Loading branch information
Naturalclar authored and facebook-github-bot committed Mar 12, 2020
1 parent 9aac6d4 commit e976eb0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/facebook/hermes/blob/master/CONTRIBUTING.md)
<img src="./website/static/img/logo.svg" alt="Hermes logo - large H with wings" align="right" width="20%"/>

Hermes is a JavaScript engine optimized for fast start up of [React Native](https://facebook.github.io/react-native/) apps on Android. It features ahead-of-time static optimization and compact bytecode.
Hermes is a JavaScript engine optimized for fast start up of [React Native](https://reactnative.dev/) apps on Android. It features ahead-of-time static optimization and compact bytecode.

If you're only interested in using pre-built Hermes in a new or existing React Native app, you do not need to follow this guide or have direct access to the Hermes source. Instead, just follow [these instructions to enable Hermes](https://facebook.github.io/react-native/docs/hermes).
If you're only interested in using pre-built Hermes in a new or existing React Native app, you do not need to follow this guide or have direct access to the Hermes source. Instead, just follow [these instructions to enable Hermes](https://reactnative.dev/docs/hermes).

If you want to know how to build and hack on Hermes directly, and/or integrate Hermes built from source into a React Native app then read on.

Expand Down
2 changes: 1 addition & 1 deletion doc/BuildingAndRunning.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: building-and-running
title: Building and Running Hermes
---

This document describes how to build and run Hermes as a standalone compiler and VM. To use Hermes in the context of a React Native app, see the [React Native](https://facebook.github.io/react-native/docs/getting-started) documentation.
This document describes how to build and run Hermes as a standalone compiler and VM. To use Hermes in the context of a React Native app, see the [React Native](https://reactnative.dev/docs/getting-started) documentation.

## Dependencies

Expand Down
2 changes: 1 addition & 1 deletion doc/ReactNativeIntegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The final `yarn link` command in this sequence registers your custom build of He

## Linking Hermes into a React Native app

To use your custom Hermes npm package in an app, first make sure the app works with a normal release of Hermes by following [instructions in the React Native docs](https://facebook.github.io/react-native/docs/hermes).
To use your custom Hermes npm package in an app, first make sure the app works with a normal release of Hermes by following [instructions in the React Native docs](https://reactnative.dev/docs/hermes).

Next, link the Hermes npm package into the React Native package in your app. For example, assuming your project is in the directory `$AWESOME_PROJECT` you would run this command:

Expand Down
2 changes: 1 addition & 1 deletion test/circleci-e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function sed_op() {
npx react-native init "$project_dir"

# Enable Hermes
# https://facebook.github.io/react-native/docs/hermes
# https://reactnative.dev/docs/hermes
sed_op 's/enableHermes: false/enableHermes: true/' "$project_dir"/android/app/build.gradle

# Patch in master React Native checkout.
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
items: [
{
label: 'Using Hermes in a React Native app',
to: 'https://facebook.github.io/react-native/docs/hermes',
to: 'https://reactnative.dev/docs/hermes',
},
{
label: 'Hermes Development',
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function Home() {
'button button--secondary button--lg',
styles.getStarted,
)}
to={'https://facebook.github.io/react-native/docs/hermes'}
to={'https://reactnative.dev/docs/hermes'}
>
Start Using Hermes
</Link>
Expand Down

0 comments on commit e976eb0

Please sign in to comment.