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

> Mutation observers are very, very bad for performance.

No, they are not. Mutation events are tragic for performance and are deprecated (Chrome will make that pretty obvious in the console). The Mutation Observer was designed to have reasonable performance characteristics. It's still a very active listener, but rarely is it a bottleneck.

more: https://developers.google.com/web/updates/2012/02/Detect-DOM...



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: