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
When I read the source code of keyIndex function, I found that if I have a vNode with the key is 0, the vNode will be add to free array instead of keys, I am confused.
I think the if (child.key) is the source to due to this result.
Is a bug or a special design? if it's a special design, why to design it?
The text was updated successfully, but these errors were encountered:
When I read the source code of
keyIndex
function, I found that if I have a vNode with the key is 0, the vNode will be add tofree
array instead ofkeys
, I am confused.I think the
if (child.key)
is the source to due to this result.Is a bug or a special design? if it's a special design, why to design it?
The text was updated successfully, but these errors were encountered: