logoalt Hacker News

jitl • yesterday at 10:44 PM • 1 reply • view on HN

In my experience LLMs write mediocre React code: it works, but is the most naive implementation possible for a given task. It needs to be bullied extensively to write performant React that considers prop stability, does updates in event handlers instead of convoluted useEffect chains, etc. I haven't tried Svelte in a while but "lots of React in training data" doesn't feel like a huge boon to me.


Replies

casper14 • yesterday at 11:19 PM

Tells you something about the average React code

➕ show 1 reply