Skip to content

Conversation

@yungsters
Copy link
Contributor

Summary:
Configures Metro for RNTester / CI to use the Hermes parser so that React Native can fully leverage all modern Flow language syntax.

Changelog:
[General][Changed] - Changed RNTester's to use Hermes parser

Differential Revision: D62161923

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Sep 4, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62161923

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62161923

yungsters added a commit to yungsters/react-native that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebook#46318

Configures the Metro by default to use the Hermes parser so that React Native can fully leverage all modern Flow language syntax.

NOTE: This does not affect `*.ts` and `*.tsx` files which will continue to use Babel. Metro has logic to enforce this regardless of the transform options.

Changelog:
[General][Changed] - Changed Metro default config to use Hermes parser

Differential Revision: D62161923
Summary:
Pull Request resolved: facebook#46318

Configures the Metro by default to use the Hermes parser so that React Native can fully leverage all modern Flow language syntax.

NOTE: This does not affect `*.ts` and `*.tsx` files which will continue to use Babel. Metro has logic to enforce this regardless of the transform options.

Changelog:
[General][Changed] - Changed Metro default config to use Hermes parser, enabling the use of advanced Flow syntax in React Native.

Differential Revision: D62161923
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62161923

yungsters added a commit to yungsters/react-native that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebook#46318

Configures the Metro by default to use the Hermes parser so that React Native can fully leverage all modern Flow language syntax.

NOTE: This does not affect `*.ts` and `*.tsx` files which will continue to use Babel. Metro has logic to enforce this regardless of the transform options.

Changelog:
[General][Changed] - Changed Metro default config to use Hermes parser, enabling the use of advanced Flow syntax in React Native.

Differential Revision: D62161923
yungsters added a commit to yungsters/react-native that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebook#46318

Configures the Metro by default to use the Hermes parser so that React Native can fully leverage all modern Flow language syntax.

NOTE: This does not affect `*.ts` and `*.tsx` files which will continue to use Babel. Metro has logic to enforce this regardless of the transform options.

Changelog:
[General][Changed] - Changed Metro default config to use Hermes parser, enabling the use of advanced Flow syntax in React Native.

Differential Revision: D62161923
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 4, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 320963c.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @yungsters in 320963c

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants