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

Unfortunately Facebook, the flagship React application, does not reflect that.


I just loaded facebook.com and saw 30 unique elements used on my homepage. Seems reasonable enough.


I opened up facebook.com and clicked Inspect Element on a random comment Like button. It’s a <div> nested inside 61 (I counted) layers of <div>s.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: