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

Use the canonical nativeTag for Fabric's setNativeProps #14900

Merged
merged 2 commits into from
Feb 20, 2019

Conversation

elicwhite
Copy link
Member

@elicwhite elicwhite commented Feb 20, 2019

I'm going to be working on migrating the API for setNativeProps and wanted to add a better assertion for the current setNativeProps behavior. I found that with the Fabric renderer the first argument to setNativeProps was undefined.

I'm pretty sure we will be changing this later as Fabric won't be calling UIManager.updateView at all but this can at least be changed for now.

Related to react-native-community/discussions-and-proposals#72

@sebmarkbage
Copy link
Collaborator

You need to run yarn prettier first but looks good.

@elicwhite
Copy link
Member Author

Beat you to it. 👍

@elicwhite elicwhite merged commit b96b61d into facebook:master Feb 20, 2019
@elicwhite elicwhite deleted the setnativeprop-expect branch February 20, 2019 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants