SvelteKit 3

(svelte.dev)

42 points | by sampsn 2 hours ago

2 comments

  • blakeashleyjr 48 minutes ago
    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!

    • 383toast 21 minutes ago
      what's the point of svelte in a world where the llm is much better at react due to massively more available training data?
      • pampas 1 minute ago
        I don't think that's true anymore. I've seen a few benchmarks where svelte results in less tokens to complete the task. There was a time when LLMs were awful at svelte (especially v5) due to stale knowledge but that's not the case today.
      • zem 1 minute ago
        every time I see this argument I think of the fact that one of my current side projects in D with qt bindings off github - an obscure library for an obscure language - and claude had zero issues with it. I had to guide the architecture pretty heavily, but the fiddly bits of interfacing multithreaded c libraries to D's garbage collector and qt's event loop were all thanks to the LLM, and done a lot quicker than I would have.
      • Recursing 2 minutes ago
        In my experience LLMs write better svelte code then React code, as there's fewer footguns (e.g. useEffect is much more brittle in React)
      • winfredJa 1 minute ago
        svelte is way more performant than react.
      • jitl 13 minutes ago
        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.
      • sampsn 17 minutes ago
        i have had similar thoughts. But i hold on to the idea that its still valuable to invent new tools and ways of doing things. other wise, why not just use html css and javascript and not use react at all?
      • esafak 6 minutes ago
        LLMs don't struggle with Svelte. Why wouldn't you use it?
      • nozzlegear 10 minutes ago
        What's the point of anything?
      • transdev12 7 minutes ago
        [dead]
  • sharktheone 2 hours ago
    Still waiting for remote functions to become ready :/
    • pampas 3 minutes ago
      I've had no problem using them in 2.x