This directory owns the Hermes-facing Native API entrypoint:
NativeApiJsi.hexposes the public JSI install/create API.NativeApiJsi.mmbinds Hermes JSI types to the Hermes-owned bridge implementation files in this directory.NativeApiJsiReactNative.hadapts React NativeCallInvokers to the JSI scheduler config used by the TurboModule.NativeApiJsiSignatureDispatch.hwires Hermes generated signature dispatch tables into native invocation.
Hermes is the only backend that exposes the real facebook::jsi API. V8, JSC,
and QuickJS own their bridge implementations in their respective engine
directories.
React Native integrations should include NativeApiJsiReactNative.h from a
TurboModule implementation and pass the module's JS/UI CallInvokers:
nativescript::InstallReactNativeNativeApiJSI(
runtime, jsInvoker, uiInvoker, metadataPath, metadataPtr);