vue-fragment
vue-fragment copied to clipboard
Issue with fragment inside of slot with v-if
Minimal repro: https://codesandbox.io/s/vue-fragment-slot-ckird
- Click button to show content
- Click button to remove content
- not all children are removed & this error occurs:
"NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node."
Our team had the same issue after we upgraded from Vue 2 to Vue 3. Since Vue 3 has built-in support for fragments, we simply removed this package to fix the issue.