‹ BackHN Continuity

Thread

SvelteKit 3

408 points · 179 comments · sampsn

  1. machiaweliczny · · focus · HN ↗
    In general I like Svelte and SvelteKit although there's 3 problems I don't fully like:

    1) The getter trap - if you forget to export hooks via getters you don't get reactivity and it's not easy to figure out (Svelte)

    2) The async data fetching - for example fetching data async is currently coupled to views which it shouldn't be - was frustrating a lot (SvelteKit)

    3) That reactivity system is not runtime only (Svelte)

    I am also not a fan of adding these new things like remote functions - most of apps need multiple frontends and this coupling isn't needed. This will be fad same as GraphQL

    1. EricFrost · · focus · HN ↗
      This seems like a good place to plug Solarite, my own js ui library.

      <a href="https:&#x2F;&#x2F;eric-frost.github.io&#x2F;solarite&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eric-frost.github.io&#x2F;solarite&#x2F;

      There are no signals, proxies, or decorators, or any compilation. You just use plain data. Though the trade-off is that you have to call render() yourself. I prefer it that way though.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.