-
Notifications
You must be signed in to change notification settings - Fork 25
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
Transform to {{@foo}}
if component class does not define the property
#107
Comments
I think given that we can use the arguments passed into the component to reference what needs |
I'm pretty sure that @suchitadoshi1987 has work in progress to address this. |
@rwjblue she said she would link to this issue in a conversation I had with her. @suchitadoshi1987 😄 |
#123 |
cc @gabrielcsapo ^^ |
thank you @suchitadoshi1987 |
Any update on this? |
In it's current state the codemod transforms
{{foo}}
always to{{this.foo}}
(skipping template-only components). It should transform{{foo}}
to{{@foo}}
instead if the property is not defined by the class of the codemod.It may always transform to
{{this.foo}}
if the component extends from another component cause parsing parent classes may be to complex. It should print a warning in that case.The text was updated successfully, but these errors were encountered: