Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass reactNativeConfig to HermesInstance when not using the native module version #41082

Closed
wants to merge 1 commit into from

Conversation

rubennorte
Copy link
Contributor

Summary:
We're testing a method to access ReactNativeConfig without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Differential Revision: D50450488

@rubennorte rubennorte force-pushed the export-D50450488 branch 2 times, most recently from a3a153e to c8b0a66 Compare October 19, 2023 16:53
@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 fb-exported labels Oct 19, 2023
@facebook-github-bot
Copy link
Contributor

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
@analysis-bot
Copy link

analysis-bot commented Oct 23, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,653,258 +4,096
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,034,945 +4,108
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 79d620d
Branch: main

@facebook-github-bot
Copy link
Contributor

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 23, 2023
…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

…dule version (facebook#41082)

Summary:

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

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

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 23, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 4bf96f1.

Othinn pushed a commit to Othinn/react-native that referenced this pull request Oct 30, 2023
…dule version (facebook#41082)

Summary:
Pull Request resolved: facebook#41082

We're testing a method to access `ReactNativeConfig` without a dependency on native modules, so we can access it before that infra is initialized in places like Hermes or RuntimeScheduler.

When we're in that variant, this passes the configuration to Hermes so we can use it to set flags in the runtime (like enabling microtasks in D50177355).

Changelog: [internal]

Reviewed By: sammy-SC

Differential Revision: D50450488

fbshipit-source-id: 77f0369f93bb7175c569d51b0569669552a13acf
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