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

> I would argue that the beauty of ReactJS is that it doesn't have any gotchas. It's performant without needing a deep knowledge of the framework.

shouldComponentUpdate is just as "deep" as this Angular optimization.



Just use PureRenderMixin for all components and you never have to implement shouldComponentUpdate.


shouldComponentUpdate is generalizable across any type of component. The angular thing looked like something array specific.




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: