Hacker News new | past | comments | ask | show | jobs | submit login

Right, with lots of elements, React still needs to render and diff each component which for a lot of elements causes a lot of garbage and diffing work. ShouldComponentUpdate / PureRenderMixin avoids this altogether when props/state isn't changed so this gives a significant boost with lots of elements.



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

Search: