3 ms·useState is a hook (arguably the main hook). Maybe you meant useEffect?by brundolf 5y agouseState is a hook (arguably the main hook). Maybe you meant useEffect?