Why Did You Render v4 Released!

TypeScript support, Custom hooks tracking (like React-Redux’s useSelector), Tracking of all pure components.

TypeScript Support

Improved Overall Stability

Tracking of all Pure Components

Tracking of Custom Hooks

Example

A problematic component that renders on every state change
Using why did you render with tracking of all pure components and tracking of the useSelector hook

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store