Avoiding wasted render/re-render
jsphkhan opened this issue · comments
Joseph Khan commented
Michael Jackson commented
I'm sorry, but there isn't enough information here to help you. Re-renders could be caused by parent components passing new props. But the only time the state of a <Media>
component changes is when the state of its media query changes.