Hacker News new | past | comments | ask | show | jobs | submit login

One way React can be faster than hand-written code is by batching all dom manipulation into animation frames.



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.


Handwritten JS could also batch DOM manipulation (without the need for virtual dom comparison).



Ooo fastdom looks great! Thanks for the link.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: