mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41549 Changelog: [Internal] Introduces the `JSRuntime` interface as a straightforward wrapper around `jsi::Runtime`, and refactors `ReactInstance` to hold a `JSRuntime` instead of a `jsi::Runtime`. In an upcoming diff we'll add debugging-related methods to `JSRuntime` and specialise their implementations for Hermes. NOTE: `JSRuntime` is somewhat analogous to `JSExecutor` in the Bridge architecture. Reviewed By: huntie Differential Revision: D51447934 fbshipit-source-id: cfcab9ae0dd3d2a34c064abaac6cb676f435e216