-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Wire up configuration to use microtasks in RuntimeScheduler, Hermes and React #41090
Conversation
This pull request was exported from Phabricator. Differential Revision: D50177355 |
bad7748
to
548a9d2
Compare
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
548a9d2
to
24885d1
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
24885d1
to
ce724fb
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
ce724fb
to
40adcba
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
40adcba
to
b6fcd74
Compare
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
Base commit: 79d620d |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
b6fcd74
to
84c21bf
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
84c21bf
to
adab559
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
adab559
to
f5fe9b2
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
…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
Summary: Adds support for executing microtasks in `RuntimeScheduler`, the same way we did in `JSIExecutor` before (removed in D49536251 / facebook#40870) but now after each actual task in the scheduler. When we use microtasks in the scheduler, we ignore calls to execute expired tasks (which was used to call "React Native microtasks" that we had before). Those should now be regular microtasks in the runtime. This is gated behind a feature flag until we've tested this broadly. This is going to be tested in Hermes but we need to add support for microtasks in JSC (which has a no-op in its JSI interface). Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D49536262
…nd React (facebook#41090) Summary: This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355
f5fe9b2
to
a34a9cf
Compare
This pull request was exported from Phabricator. Differential Revision: D50177355 |
This pull request has been merged in 1923a4e. |
…nd React (facebook#41090) Summary: Pull Request resolved: facebook#41090 This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes. Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D50177355 fbshipit-source-id: 6cf23cf72b63d19f50453d3e4cc4ac1b056dbd92
Summary:
This propagates to enable the use of microtasks in the React reconciler, Runtime Scheduler and Hermes.
Changelog: [internal]
Differential Revision: D50177355
See react-native-community/discussions-and-proposals#744