‹ BackHN Continuity

Thread

SvelteKit 3

408 points · 179 comments · sampsn

  1. blakeashleyjr · · focus · HN ↗
    Sveltekit has been a breath of fresh air for me over the last few years.

    I've had to work on a Next.js for work and much prefer Sveltekit. Excited to try this release!

    1. 383toast · · focus · HN ↗
      what's the point of svelte in a world where the llm is much better at react due to massively more available training data?
      1. jitl · · focus · 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.
        1. casper14 · · focus · HN ↗
          Tells you something about the average React code
          1. ceejayoz · · focus · HN ↗
            Or that there are a lot of very basic React tutorials out there.

            Like how half of PHP's problem for a while was w3schools.

            1. jack_pp · · focus · HN ↗
              tutorials are probably less than 0.1% of the training data compared to actual code, or you mean average project is influenced by basic tutorials?
              1. ceejayoz · · focus · HN ↗
                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.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.