Skip to content

Conversation

@okwasniewski
Copy link
Member

@okwasniewski okwasniewski commented Aug 29, 2022

According to this discussion, ShadowNodes are not used in the new architecture so I moved it back to old arch.

Regarding events:

RCTModernEventEmitter is a transitional replacement for RCTEventEmitter that works with Fabric and non-Fabric renderers. RCTEventEmitter works with Fabric as well, but there are negative perf implications and it should be avoided.

Source: react-native source code

Test Plan:

CI


This pull request fixes #412

Copy link
Member

@BartoszKlonowski BartoszKlonowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge as soon as indents are corrected 👍

@okwasniewski okwasniewski merged commit 4be2dd7 into main Sep 7, 2022
@okwasniewski okwasniewski deleted the fix/fabric-improvements branch September 7, 2022 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace RCTEventEmitter with RCTModernEventEmitter

5 participants