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

add hasOwnProperty to devTools backend #22437

Merged

Conversation

behnammodi
Copy link
Contributor

We always use hasOwnProperty from shared package like isArray, so I think this case is missed

@bvaughn

Copy link
Contributor

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

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

This wasn't really missed. React (reconciler/renderer) packages and DevTools packages follow slightly different rules and conventions.

That being said, this change seems fine :)

@bvaughn bvaughn merged commit c9d64e5 into facebook:main Sep 27, 2021
zhengjitf pushed a commit to zhengjitf/react that referenced this pull request Apr 15, 2022
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