Skip to content

Key warning shouldn't be shown for transition keys #6126

@bundyo

Description

@bundyo

Version

2.4.1

Reproduction link

https://jsfiddle.net/f3Lo2k0p/

Steps to reproduce

  1. Add :key binding in a transition

What is expected?

To not get a warning

What is actually happening?

Vue issues a warning:
"Avoid using non-primitive value as key, use string/number value instead."

However the key here is bound to a boolean property.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions