-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
"was created with unknown prop" warning on when using $$props.* #2878
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
Comments
This issue seems related to #2840. |
Also getting:
|
This is still a valid bug, but the suggested way to have a prop called |
Rich-Harris
added a commit
that referenced
this issue
May 27, 2019
dont create unknown prop warnings for $$scope etc, or if component has $$props
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
$$props.class
causes the warning. Sinceclass
is a keyword, the suggested way to accessclass
was to use$$props.class
.The text was updated successfully, but these errors were encountered: