Since dispose is only called through element now, delay this to after the device update, so adapters can call unmount first. Also, assign a new ID to groups when they structurally change.
Since dispose is only called through element now, delay this to after the device update, so adapters can call unmount first. Also, assign a new ID to groups when they structurally change.