Empty text nodes before and after list rendering
Vue version
3.2.36
Link to minimal reproduction
Steps to reproduce
After opening the link, checkout the console
What is expected?
List rendering should not render two empty text nodes before and after the list.
What is actually happening?
Vue3 list rendering renders two empty text nodes before and after the list, like this:
NodeList(5) [ #text, li, li, li, #text ]
React and vue2 does not have them.
System Info
No response
Any additional comments?
The empty text nodes cause compat problems inside contenteditable. I hope they could be removed.
They are necessary to serve as anchors of fragments - unfortunately it's not possible to remove them.