标签: javascript ios react-native
区别:
RCTComponent.h
:
RCTDirectEventBlock RCTBubblingEventBlock
并且
RCTBridgeModule.h
RCTResponseSenderBlock RCTResponseErrorBlock RCTPromiseResolveBlock RCTPromiseRejectBlock
基本上,当我选择正确的回调时我需要考虑什么?我想在JavaScript中运行?
JavaScript