web-component-base
web-component-base copied to clipboard
feat: smart diffing
trafficstars
fixes #24
This implements diffing by
- creating a "watch list" of nodes
- checks elements changed by comparing previous watch list to new watch list
- 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)
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 |