web-component-base icon indicating copy to clipboard operation
web-component-base copied to clipboard

feat: smart diffing

Open ayoayco opened this issue 1 year ago • 1 comments
trafficstars

fixes #24

This implements diffing by

  1. creating a "watch list" of nodes
  2. checks elements changed by comparing previous watch list to new watch list
  3. applies changes to changed nodes only

Left todo

  • [ ] only include dynamic nodes in the watch list
  • [ ] handle "add" new nodes scenario (using todo app example)

ayoayco avatar Dec 24 '23 18:12 ayoayco

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web-component-base ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 26, 2023 11:39pm

vercel[bot] avatar Dec 24 '23 18:12 vercel[bot]