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

Improve destructuring of prop getter args #25

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

roginfarrer
Copy link
Owner

Changes how we determine default values for the prop getter arguments. Previously, the other default arguments we expect could have been blown away if they weren't replaced. This way is a bit more reliable.

Also adds support for changing the ref prop, if it's different for the component (like older versions of styled-components)

@roginfarrer roginfarrer merged commit 6f74202 into master Aug 15, 2019
@roginfarrer roginfarrer deleted the better-destructure-prop-getter-args branch August 15, 2019 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant