Most active commenters

    ←back to thread

    Svelte 5 Released

    (www.npmjs.com)
    390 points begoon | 13 comments | | HN request time: 0.002s | source | bottom
    Show context
    sansseriff ◴[] No.41890232[source]
    Svelte 5 has been very nice to work with over the past few months. Yes, runes require you to think more carefully about lifecycles and updates. And you may end up writing a little more code initially than with svelte 4. But it serves you better in the long run with complex apps. I found a process for gradually turning a simple app into a more complex one that works for me. I iteratively move $state() runes out of .svelte files and into .svelte.ts files where I build a more abstract data-oriented structure for my app from a series of mutually linked classes. Then those runes can be re-imported into the .svelte files, or used and updated wherever you need. If you plan it right, I think it avoids the need for heavy redux-like state management. (at least I think so. I haven't worked with redux much myself)
    replies(4): >>41890939 #>>41891144 #>>41891258 #>>41893765 #
    1. mhitza ◴[] No.41890939[source]
    Do you know of any large OSS software built with Svelte? I'd like to see how it turns out in the long run, because I'm reticent of all frontend frameworks nowadays through what I perceive as gateways to uncontrollable accidental complexity and abstractions.
    replies(8): >>41891082 #>>41891269 #>>41891381 #>>41891428 #>>41891502 #>>41891606 #>>41891748 #>>41891802 #
    2. v3ss0n ◴[] No.41891082[source]
    Ofcoz hypest and ml opensource software frontend are build with svelte and they're very successful

    huggingface https://huggingface.co/pydio https://huggingface.co/docs/chat-ui Ollma webui https://github.com/open-webui

    These are just a few of them that I quickly search and look at their popularity .

    3. bbkane ◴[] No.41891269[source]
    Does https://github.com/dbgate/dbgate count?
    4. tjhorner ◴[] No.41891381[source]
    Immich uses SvelteKit for its frontend: https://github.com/immich-app/immich

    I’ve used it as a reference for a NestJS+SvelteKit app in the past, they did a pretty good job.

    5. djhn ◴[] No.41891428[source]
    Huly was just recently on the HN frontpage: https://github.com/hcengineering/platform

    Gradio: https://github.com/gradio-app/gradio

    6. slig ◴[] No.41891502[source]
    Windmill - https://github.com/windmill-labs/windmill
    7. keb_ ◴[] No.41891606[source]
    PocketBase's UI is built with Svelte: https://github.com/pocketbase/pocketbase/tree/master/ui

    EDIT: Also, not OSS, but https://search.brave.com seems to be built with Svelte

    8. Aliabid94 ◴[] No.41891748[source]
    Gradio is built with svelte https://github.com/gradio-app/gradio
    9. FractalHQ ◴[] No.41891802[source]
    Apple Music isn't OSS, but it's quite a large Svelte app: https://music.apple.com
    replies(2): >>41891909 #>>41895080 #
    10. swyx ◴[] No.41891909[source]
    more notable companies using svelte because this always comes up https://x.com/SvelteSociety/status/1260209026563858432
    replies(2): >>41892041 #>>41893952 #
    11. esperent ◴[] No.41892041{3}[source]
    Only viewable if you have a Twitter account, which is less and less common these days.
    12. mkl ◴[] No.41893952{3}[source]
    https://xcancel.com/SvelteSociety/status/1260209026563858432
    13. ChocolateGod ◴[] No.41895080[source]
    I have no idea Apple was using Svelte, that's cool

    Another notable example is Yahoo Finance, which is written in Svelte

    https://finance.yahoo.com/