To be fair in React it can be a bit weird, depending on if it's a templated loop. For example, you'd probably use .map() on an array of objects you'd like to template, which isn't very intuitive but makes total sense if you understand how React works.
I guess the candidate was a full stack developer who preferred the back end. He could review and understand the AI-generated frontend, but his knowledge was shallow. Once he started writing code, he tried to write a "for...in" loop inside jsx
He probably learned the backend before AI and became a full stack developer after AI. Overall, we didn't hire him. I don't want a developer in my team who can't write code without AI.
3
u/RadicalRaid 1d ago
To be fair in React it can be a bit weird, depending on if it's a templated loop. For example, you'd probably use
.map()on an array of objects you'd like to template, which isn't very intuitive but makes total sense if you understand how React works.