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.
Tutorials are often written in an imperative style that's a little like prompt injection. There's a lot more writing out there on "how to make a todo app demo" than for the complex shit.
blakeashleyjr · · focus · HN ↗
I've had to work on a Next.js for work and much prefer Sveltekit. Excited to try this release!
383toast · · focus · HN ↗
jitl · · focus · HN ↗
casper14 · · focus · HN ↗
ceejayoz · · focus · HN ↗
Like how half of PHP's problem for a while was w3schools.
jack_pp · · focus · HN ↗
ceejayoz · · focus · HN ↗