Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
abiox
on May 22, 2018
|
parent
|
context
|
favorite
| on:
Show HN: HyperApp – 1k JavaScript framework for bu...
fast(er) is relative. and _not_ doing a thing is often faster than doing a thing.
eropple
on May 22, 2018
|
next
[–]
Replacing the entire tree is very rarely, if ever, faster than doing the fast thing.
rictic
on May 22, 2018
|
parent
|
next
[–]
True, but neither virtual-dom nor lit-html replace the entire tree.
gldalmaso
on May 22, 2018
|
prev
[–]
Isn't vdom diff a way to not do things?
spankalee
on May 22, 2018
|
parent
[–]
You have to do the diff, which is a thing. lit-html doesn't do the diff because it knows from the template what parts actually change. No need to diff the parts that never change.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: