The problem with Alpine.initTree(node) is that the current state is lost and everything is reinitialized (x-init..).
I outlined the correct solution here:
The problem with Alpine.initTree(node) is that the current state is lost and everything is reinitialized (x-init..).
I outlined the correct solution here: