Trouble with useEffect running every render? `useEffectRef` to the rescue!
This article includes a helpful tip and example for when you have a react effect that's running too often. Usually a callback prop.
Tags: javascript, react, reacthooks, advanced