Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
toomim
on May 7, 2022
|
parent
|
context
|
favorite
| on:
TodoMVC App Written in Vanilla JavaScript
One way React can be faster than hand-written code is by batching all dom manipulation into animation frames.
ricardobeat
on May 7, 2022
|
next
[–]
The rendering code here is already batched since everything happens within a single render() call. And unless you’re using react fiber, its rendering is also synchronous.
sarchertech
on May 7, 2022
|
prev
[–]
Handwritten JS could also batch DOM manipulation (without the need for virtual dom comparison).
SemanticStrengh
on May 7, 2022
|
parent
[–]
https://github.com/wilsonpage/fastdom
1marc
on May 7, 2022
|
root
|
parent
[–]
Ooo fastdom looks great! Thanks for the link.
SemanticStrengh
on May 7, 2022
|
root
|
parent
[–]
https://www.youtube.com/watch?v=VKMw2it8dQY
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: