EY MERN Stack Mid

Explain useState and useEffect with a real example.

useState holds UI state; useEffect runs side effects after paint. ShopNest cart badge: const [count,setCount]=useState(0); useEffect loads cart count once on mount.

EY rounds often probe: Client scenarios.

Themes commonly reported in public MNC interview experiences (AmbitionBox / LinkedIn / Glassdoor-style). Practice aloud; keep answers this short in the real round.

More EY MERN Stack questions

All MERN Stack questions
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details