You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I'm writing up documentation on the for-loop functionality I'm realising that it's very important (in most cases) to add a key attribute when using the :for attribute.
It would be nice if the VS code plugin can display a warning when the key attribute is omitted. It's not 100% required (for example when creating a static for-loop, with no changes ever).
Ideally it would also be nice to detect wether the index is used in the key attribute, and display a warning about it (i.e. the index is not a useful value to use in the key attribute)
The text was updated successfully, but these errors were encountered:
Ideally it would also be nice to detect wether the index is used in the key attribute, and display a warning about it (i.e. the index is not a useful value to use in the key attribute)
As I'm writing up documentation on the for-loop functionality I'm realising that it's very important (in most cases) to add a
key
attribute when using the:for
attribute.It would be nice if the VS code plugin can display a warning when the key attribute is omitted. It's not 100% required (for example when creating a static for-loop, with no changes ever).
Ideally it would also be nice to detect wether the index is used in the key attribute, and display a warning about it (i.e. the index is not a useful value to use in the key attribute)
The text was updated successfully, but these errors were encountered: