Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.





Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: