You get a prop, fetch user data, render a badge. Easy? Think again.
This deceptively simple component tests your:
- 🧠 Understanding of useEffect dependencies
- 🕵️ Handling of race conditions
- 🚫 Prevention of updates after unmount
- ⚙️ Clean async logic with AbortController
- 💡 Perfect for interviews — and even better for real apps. 👉 Read it now https://javascript.plainenglish.io/react-interview-challenge-build-a-smart-profile-component-56459e37c3e2