-
Couldn't load subscription status.
- Fork 49.7k
Remove unused arguments from ReactElement #34174
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
Conversation
| debugStack, | ||
| debugTask, | ||
| ) { | ||
| function ReactElement(type, key, owner, props, debugStack, debugTask) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since owner is only tracked in DEV, it probably makes sense to put that after props. We do that elsewhere with dev only arguments since Closure Compiler seems better at removing them when they're always the same given some constant.
After various feature flag removals recently, these arguments became unused and can be deleted.
After various feature flag removals recently, these arguments became unused and can be deleted.