I'm pretty sure that's just LLMs tendency to replicate bad React patterns.