mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c75f062a77
Summary: The existing implementation of JSCallInvoker holds a reference to Instance (aka the bridge). This diff makes JSCallInvoker an abstract base class that's extended by BridgeJSCallInvoker, which is what's returned by CatalystInstance to initialize TurboModules. This will allow us to add another class that derives from JSCallInvoker that doesn't rely on the bridge. Reviewed By: shergin Differential Revision: D15252375 fbshipit-source-id: 75eee2ca149235a63e2a2cd8cdd361b163d1d1ab