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

Set constructor properly in createReactNativeComponentClass #1471

Closed
wants to merge 1 commit into from

Conversation

sophiebits
Copy link
Contributor

Without this, the displayName property wasn't found when looking at
.constructor on a component instance. Fixes facebook/react-devtools#92.

Without this, the displayName property wasn't found when looking at
`.constructor` on a component instance. Fixes facebook/react-devtools#92.
@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels May 31, 2015
@brentvatne
Copy link
Collaborator

This fixed the issue for me, nice one @spicyj

It would be great to get this into 0.5.0 as it's a small bugfix so it seems like it might be appropriate cc @vjeux

@vjeux
Copy link
Contributor

vjeux commented Jun 1, 2015

@brentvatne: in order to get things to the rc, we have to go through fb internal cherry-pick process and i don't think this is worth it. The goal of the rc is to be as stable as possible and only cherry-pick bug fixes. Cherry-picking features like this makes it harder to figure out what is available in what version.

2 weeks is short enough that we can wait for the next version to get those safely

@sophiebits
Copy link
Contributor Author

This is also not a regression (AFAIK) so that's another reason it can wait.

@brentvatne
Copy link
Collaborator

Sounds good, thanks for the clarification

ayushjainrksh pushed a commit to MLH-Fellowship/react-native that referenced this pull request Jul 2, 2020
* Uses `eventValue` not `value`

* Running prettier on the modified JS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React Native produces many "Unknown" nodes
4 participants