What's the difference between:
in RCTComponent.h :
RCTDirectEventBlock RCTBubblingEventBlock
AND
in RCTBridgeModule.h :
RCTResponseSenderBlock RCTResponseErrorBlock RCTPromiseResolveBlock RCTPromiseRejectBlock
Basically, what do I need to consider when I select the correct callback, do I want to return to JavaScript ?
source share