News for hackers. Stuff that matters.
Re:Ask HN: What's is your go to toolset for simple front end... by jeanlucas on Thursday July 07, 2022 @09:33AM (#32013863)
I don't consider Svelte a simple toolset because it can't be published statically
Re:Ask HN: What's is your go to toolset for simple front end... by soggybutter on Thursday July 07, 2022 @09:50AM (#32014065)
Unless I'm misunderstanding you, Svelte can absolutely be published statically. If you leverage SvelteKit and the SSR it offers, then yes you need to deploy a server, but regular Svelte builds a statically deployable bundle just like React, Vue, or any other big UI lib/framework
Re:Ask HN: What's is your go to toolset for simple front end... by orangepanda on Thursday July 07, 2022 @12:35PM (#32016153)
I think they meant that svelte cannot be used without a build step.

The fact that builds dont need a second build is nice to know, even if useless.

Re:Ask HN: What's is your go to toolset for simple front end... by carbadtraingood on Thursday July 07, 2022 @09:48AM (#32014046)
I think you are incorrect here. Sveltekit comes with a number of adapters designed to ship either a SSR site or a static SPA.

Serving a static Svelte site is literally a one line change in a config file. I've got a good half dozen Svelte sites that live in s3.

Re:Ask HN: What's is your go to toolset for simple front end... by mateomorris on Thursday July 07, 2022 @10:03AM (#32014247)
It can quite easily with https://primo.so
Re:Ask HN: What's is your go to toolset for simple front end... by ramshorst on Thursday July 07, 2022 @09:46AM (#32014017)
If you are in a larger scale SEO project this does blazing fast static generation with Svelte: https://github.com/Elderjs/elderjs
Re:Ask HN: What's is your go to toolset for simple front end... by vonadz on Friday July 08, 2022 @04:59AM (#32024603)
Can attest to this. We used it to build https://findenergy.com which has over 15k pages and a TON of data.
Re:Ask HN: What's is your go to toolset for simple front end... by Komodai on Thursday July 07, 2022 @10:05AM (#32014273)
Have you even used Svelte yourself?