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

Add failing test case for #153 #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

lencioni
Copy link
Collaborator

@lencioni lencioni commented Sep 19, 2018

I have been investigating a bug that occurs when a ClassExpression is
using the experimental class properties for propTypes. I am not sure
what the best fix for it is yet, but I wanted to get up a failing test
case to help showcase the bug.

@oliviertassinari do you have any ideas on how static class propTypes
properties can be removed from ClassExpressions in wrap mode?

Related to #153

I have been investigating a bug that occurs when a ClassExpression is
using the experimental class properties for propTypes. I am not sure
what the best fix for it is yet, but I wanted to get up a failing test
case to help showcase the bug.
@oliviertassinari
Copy link
Owner

@oliviertassinari do you have any ideas on how static class propTypes
properties can be removed from ClassExpressions in wrap mode?

We are already supporting it this use case. The logic I wrote is inspired by babel-plugin-transform-class-properties.

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

2 participants