HackerGit Trending Discord Star

MalucoMarinero/react-wastage-monitor

React Client Monitor that detects wasted rendering time on incorrectly developed Pure Components

3 best points · 1 comments · 1 Hacker News post · 110 GitHub stars · View on GitHub

Social preview of MalucoMarinero/react-wastage-monitor

From the README

React Wastage Monitor How pure are your components, really? Just throwing on shallowCompare doesn't actually get you performant components, you depend on the parents just as much, only sending down the props you actually need, ensuring they cache object literals rather than rebuild inside render functions, and it's so easy to make a critical performance mistake and not notice it. If we're to rely on Redux managing the state for our entire app, it's imperative that we can count on our components to only render when we need them to.

Hacker News discussions