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

I’d count that as largely unrelated. This is purely a performance optimisation, whereas mounting to an element other than the body is so that you can be somewhat more confident about the DOM inside your chosen root being in the shape you desire, since it’s common for third-party scripts, browser extensions and the likes to add children to the body (start or end), which can mess with VDOM resolution.


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

Search: