Mithril node identity demo
Both containers have CSS transition applied to green boxes.
With key
This demo uses
key
attribute to perform identity matching for virtual dom nodes. Transition creates moving effect.
Without key
This demo
does not use
key
attribute to perform identity matching for virtual dom nodes. Boxes get recreated and transition does not work.