Replies: 3 comments 3 replies
-
Okay so it seems that when they get added to the separate What scenarios could cause the |
Beta Was this translation helpful? Give feedback.
-
@Dunedubby thanks for the thorough investigation and I apologize for the delay in answering. Last week we were bus with some internal projects and I could not dedicate a lor of time to Github, sadly. Please consider that the configuration with TurboModule, Fabric and Bridge mode is not supported anymore. We keep providing the possibility to disable bridgeless for debugging purpose, but users are supposed to use the New Architecture as a whole: TurboModule, Fabric and Bridgeless. I'm also a bit concerned in updating the docs with so low level details. You did a great job investigating and diving deep in the code, but those details will change in the future (for example when we approach the removal of the Old Architecture) so writing those down in the docs also mean that we have to keep them updated. Plus, I don't see how much they will benefit the average users who don't need to go in such details to learn and use React Native. What do you think? |
Beta Was this translation helpful? Give feedback.
-
I am trying to understand the principles of React Native. At present, we are just starting to study the communication between JS and Native. The TurboModule System can enable JavaScript and Native to communicate synchronously. My question is, using JSCore's JSCntent can also enable JS and Native to communicate synchronously. What are the differences through JSI? This question may be foolish, but I look forward to your answer. In addition, the new architecture has many concepts that are difficult to understand, but I would like to understand its principles. Do you have any recommended articles |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm having a little trouble understanding how the new
EventEmitters
are working behind the scenes on iOS, and if there's a disconnect between the documentation and what actually happens. So my understanding is that every function that is created in the JSI module gets ajsi::Value __hostFunction_...
function generated in the...-generated.cpp
file, as well as avirtual
method declaration in theSpecJSI.h
file, among other things. Should we expecting similar functions to exist for aonThingHappens
JS method, after we declare areadonly onThingHappens: EventEmitter<blah>
? Or is there another syntax to call these events on the JS side?Beta Was this translation helpful? Give feedback.
All reactions