Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scotty79
on Feb 1, 2023
|
parent
|
context
|
favorite
| on:
Virtual DOM is pure overhead (2018)
innerHTML can set event handlers so you don't have to assign them separately. And if you re-create dom fragment with innerHTML you can reattach children that didn't change and their handlers are preserved.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: