-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
use symbol value as key #7157
Comments
The funny thing is the warning is technically incorrect because Symbol is a primitive type. If we allow Symbols as keys, some people would try to use them as |
This warning still exists on IE11 |
What problem does this feature solve?
[Vue warn]: Avoid using non-primitive value as key, use string/number value instead.
symbol is primitive value and very suitable as key.
What does the proposed API look like?
no warnings with symbol
The text was updated successfully, but these errors were encountered: