When not to use Effect ?
Updating state based on props or state   When something can be calculated from the existing...
Tags: react, javascript, hooks