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 resetting item state to undefined during onMount or immediately in $effect, then it will crash because the each or key block can no longer access the item.id even though it's inside if block.
It looks like race condition, since if I wait one tick inside the onMount and then reset the value to undefined then it works.