Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace getRefNativeTag with findNodeHandle #1823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndreiCalazans
Copy link
Contributor

@AndreiCalazans AndreiCalazans commented May 2, 2024

Please provide enough information so that others can review your pull request:

Motivation

Trying to fix this issue when new arch is enabled: #1726

Current getRefNativeTag causes this issue with new architecture:

By reverting to findNodeHandle it works:

fabric-enabled-ios.mp4

We had introduced getRefNativeTag because experimental new architecture last year did not support using findNodeHandle. This is no longer true with the proxy renderer they created.

This was tested with and without new architecture enabled on iOS.

@gorhom
Copy link
Owner

gorhom commented May 19, 2024

tested v5 with/without new arch, it is not throwing this error

@AndreiCalazans
Copy link
Contributor Author

Really!? so it's unnecessary in v5, feel free to close the PR if so. @gorhom

@contactsimonwilson
Copy link

@gorhom can confirm v5 is not entirely working on new arch. I'm getting this after switching to new arch (also tried updating from alpha 9 to 10)
image

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.

None yet

3 participants