5 ms·
I've never encountered a case where I tell AI just uses plain JavaScript instead of React and it doesn't result in much cleaner code.
by raincole 10d ago
I've never encountered a case where I tell AI just uses plain JavaScript instead of React and it doesn't result in much cleaner code.
- skydhash 10d agoHave you tried using it in the case where React is actually a good help (very interactive apps)? And try to generate vanilla code for that as well?
- ordersofmag 10d agoIf what you're trying to build is a perfect match for the full set of abstractions React provides then it's gonna be cleaner to use React than have AI re-invent it. But most cases I run into don't fit that description.
- Xirdus 10d agoNote that even "plain" JavaScript is very high-level with tons of abstractions. Most website features are one-liners that call into browser APIs where the actual implementation lives.