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
{{ message }}
Repository navigation
Change Key of Parent Element Does Not Unmount Children #622
Every time the button is clicked HasState should display a new random value because they key of its parent div is random, and thus its identity should always change. This does not happen though.
Only by placing the random key in HasState directly do we get the expected behavior.
Activity
rmorshea commentedon Jan 27, 2022
cc: @Archmonger