Moving from Classes to Function Components (useState, useEffect) - Toggle State with useState