How can I add a Javascript/ Typescript function call to RNW from a native module. #14423
-
I have a function in RNW side and want to trigger that function whenever a event happened in native side. I'm able to capture event change in native side, how to call the javascript function available in RNW side. Your help and comments are appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Maybe not as discoverable as it should be, but the default native module example here covers how to build a native module event, which is native code calling back up to JS. Does that meet your needs? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info, I'll check on this. |
Beta Was this translation helpful? Give feedback.
Maybe not as discoverable as it should be, but the default native module example here covers how to build a native module event, which is native code calling back up to JS. Does that meet your needs?