ReactDeep dive
React keys, identity, and remounting: trace reconciliation with a runnable experiment
A React key tells React which component instance an element is. Run 9 small scenarios that trace every mount, unmount and DOM change to see when state is kept, moved or lost, and how to fix each case.




