qwik icon indicating copy to clipboard operation
qwik copied to clipboard

Cache old vnodes in the host element context

Open manucorporat opened this issue 3 years ago • 1 comments

What?

  • [ ] Store old vdom tree in the host element context
  • [ ] Implement methods to recover the old vdom from HTML
  • [ ] Refactor cursor.ts to use the old vnodes instead of DOM nodes
  • [ ] Use old vnode / new vnode to implement class and style

Why?

  • Solve host/parent conflict
  • Remove dom operations completely from vdom walking, making it easy to execute in a worker
  • Solve class/style rendering and conflicts
  • Solve property removing problem

manucorporat avatar Mar 14 '22 12:03 manucorporat

Is this still relevant?

mhevery avatar Jul 12 '22 23:07 mhevery