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

Monitor unknown attributes. #3104

Closed
wants to merge 1 commit into from

Conversation

jimfb
Copy link
Contributor

@jimfb jimfb commented Feb 10, 2015

Warn unknown attributes. Duplicates are handled by the deduping logic higher up in the same function.

@jimfb jimfb force-pushed the monitor-stripped-attributes branch 2 times, most recently from 56e258e to c8e6908 Compare February 10, 2015 20:12
@jimfb
Copy link
Contributor Author

jimfb commented Feb 10, 2015

cc @sebmarkbage

@jimfb jimfb force-pushed the monitor-stripped-attributes branch from c8e6908 to 397c286 Compare February 10, 2015 20:23
transitionEnter,
transitionLeave,
...transferredProps
} = this.props;
Copy link
Collaborator

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. :/

Copy link
Contributor Author

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?

Copy link
Collaborator

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.

@sebmarkbage
Copy link
Collaborator

@zpao Will this lead to unused variables warnings?

@sebmarkbage
Copy link
Collaborator

We need to figure out lint here first.

@jimfb
Copy link
Contributor Author

jimfb commented Feb 10, 2015

Ok, @zpao says to "put it up, wait for him to get back from his meeting, no good answer at the moment."

@gaearon
Copy link
Collaborator

gaearon commented Mar 26, 2016

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.

@gaearon gaearon closed this Mar 26, 2016
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.

4 participants