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

Transition passes through all props except component in production #107

Closed
jedwards1211 opened this issue Jul 12, 2017 · 0 comments
Closed
Labels

Comments

@jedwards1211
Copy link

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Because you are using babel-plugin-transform-react-remove-prop-types, in production, this line of Transition does not delete anything from the props that it passes through:

Object.keys(Transition.propTypes).forEach(key => delete childProps[key]);

What is the expected behavior?
Transition passes through the same set of props in production as it does in dev mode.

@jedwards1211 jedwards1211 changed the title Transition feeds through all props except component in production Transition passes through all props except component in production Jul 12, 2017
@jquense jquense added the bug label Jul 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants