Why Did You Render

Published: Apr 13, 2021
Apr 2021

When working with React, we often encounter situations where our page is very slow because some components are re-rendering when they shouldn't be. Why Did You Render is a library that helps detect why a component is re-rendering. It does this by monkey patching React. We've used it in a few of our projects to debug performance issues with great effect.