RCTModernEventEmitter fires twice for android fabric component #65
Unanswered
BraveEvidence
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a
fabriccomponent forandroid, specifically I want to use theonClickHandlerof thebuttoncomponent and pass acallbacktoreact-nativeside viaRCTModernEventEmitter. It works fine for iOS but for android theRCTModernEventEmitteremits twice every time I click the eventThis is my spec
On native side I have created following files
On
JSsideI get
valueinonClickHandlerofMyButtonViewtwice even though I press thebuttononceFullrepo is here https://github.com/PritishSawant/ReactNativeFabricEventListenerExample
Beta Was this translation helpful? Give feedback.
All reactions