-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Monitor unknown attributes. #3104
Conversation
56e258e
to
c8e6908
Compare
cc @sebmarkbage |
c8e6908
to
397c286
Compare
transitionEnter, | ||
transitionLeave, | ||
...transferredProps | ||
} = this.props; |
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.
This will be slow since our transpiler isn't quite optimal here. :/
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.
Do we care? Is someone fixing the transpiler soon, or do you want me to use Object.assign and manually remove the object properties?
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.
I mostly just care about the linting.
@zpao Will this lead to unused variables warnings? |
We need to figure out lint here first. |
Ok, @zpao says to "put it up, wait for him to get back from his meeting, no good answer at the moment." |
397c286
to
2a512be
Compare
I’m closing because it’s been stale for a while, and there doesn’t appear to be consensus on how/whether to move forward with this. We can create a separate RFC issue if this is a part of a bigger plan but it’s hard to tell from a glance. |
Warn unknown attributes. Duplicates are handled by the deduping logic higher up in the same function.