react-native-macos/React/CxxBridge
Kevin Gozali 6052e97ba7 Added RCTJSINativeModule protocol to allow enabling JSI-bound nativemodule
Summary:
Instead of asking existing modules to implement `+allowJSIBinding`, introduce a temporary "empty" protocol so modules can just adopt it for migration purpose.

Eventually this protocol may just go away.

Modules need to adopt both `RCTBridgeModule` and `RCTJSINativeModule` for time being for backward compatibility.

p.s. the entire system isn't enabled yet, this is just some of the pre-reqs for NativeModule improvements.

Reviewed By: mmmulani

Differential Revision: D9762913

fbshipit-source-id: 470f640f11a5991e5cfa9c48a1931da660ebfcd2
2018-09-11 12:17:26 -07:00
..
NSDataBigString.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
NSDataBigString.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTCxxBridge.mm Added RCTJSINativeModule protocol to allow enabling JSI-bound nativemodule 2018-09-11 12:17:26 -07:00
RCTCxxBridgeDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTJSCHelpers.h Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
RCTJSCHelpers.mm Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00
RCTMessageThread.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTMessageThread.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTObjcExecutor.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTObjcExecutor.mm RCTObjcExecutor: fix initializer-list initialization order build warning. 2018-03-19 15:51:59 -07:00