React, JavaScript, Technology, Programming, Productivity.
Now with useEffect there is a very lightweight way to fire on prop changes and our actual component doesn’t have to add props that are unnecessary to its function. New way: use `useEffect` to fire events when props change Disclaimer: before useEffect there were ways of doing prop diffing inside a