const morph: ( calls: LiveNode<any>, key?: Key, ) => DeferredCall<() => void>
Morph a call to a Live function.
Morphing will change a component's type, without forcibly unmounting its children.
Children are still reconciled as usual, and only stay if re-rendered by the new parent.
The parent that is being morphed still loses all its own state.
packages / live / src / builtin.ts