Live data from Hacker News

SvelteKit Is in Public Beta

svelte.dev

81–90 of 119 posts

Re: SvelteKit Is in Public Beta

#81
post #44

Earlier quoted context omitted.

not tsc. There has been attempts to build a faster tsc but I have not seen any results yet.

I only know of one active attempt at: https://stc.dudy.dev/docs/status from the author of swc. You may ask kdy to test but the product is closed source unlike swc.

talked to the author on mail. it will remain a closed source product

Re: SvelteKit Is in Public Beta

#82
post #77

Earlier quoted context omitted.

Not currently, but this will be implemented soon (and certainly before 1.0) https://github.com/sveltejs/kit/issues/231

Will SvelteKit follow the same pattern as Sapper? As in, after the first SSR'd page the app becomes an SPA.

Yes

Re: SvelteKit Is in Public Beta

#83

Earlier quoted context omitted.

Added a paragraph to the blog post: > Think of it as Next for Svelte. It's a framework for building apps with Svelte, complete with server-side rendering, routing, code-splitting for JS and CSS, adapters for different serverless platforms and so on. > If you're familiar with Sapper, SvelteKit is Sapper's successor.

As @skybrian points out below, this doesn't help much if you don't know what Next and Sapper are, and especially if you don't know what Svelte is. Here's my attempt. 1. Svelte is a JavaScript component framework, i.e. it offers a way to write reusable UI components in JavaScript. (Other popular frameworks include React, Angular, and Vue.) Each major framework solves the problem of code reuse in a different way, and c…

Elegantly written, thanks.

Re: SvelteKit Is in Public Beta

#84

The code examples page is a thing of beauty and simplicity, bravo! https://svelte.dev/examples#hello-world

I don't understand why the second example caches the src, checks if the current src matches the cached src, and if not sets both the src and the alt. Does the complier fully check the codebase to ensure they are always set together?

Re: SvelteKit Is in Public Beta

#85

Web dev with Svelte brings me back to the early days of web development - php, MySQL, jquery and XMLhttprequest. I personally have never understood all the tooling required to build a modern day react app, and oh how I have tried. Svelte dev as a way-of-thinking-framework is as close to the fundamentals as I think you can get. The dx is amazing and sveltekit takes it to the next level. #sveltalowda Edit: embarrassing…

How does Sveltekit compare to Elder.js? I've been trying Elder.js out and I really like how easy it is to specify which parts to hydrate.

https://elderguide.com/tech/elderjs/

Re: SvelteKit Is in Public Beta

#87

One thing that stops me from moving over to Svelte from Vue is the lack of a Vuetify (component framework with an API & tons of slots) equivalent. That's also what stops me from moving over to Vue 3 (for which Vuetify support is currently in Alpha). Vuetify just makes dev life so much easier. If Svelte had something that deep and all-encompassing I'd go all-in.

https://sveltematerialui.com/

Re: SvelteKit Is in Public Beta

#90
I'm really enjoying front-end work at the moment. I've used Vite/esbuild for a few projects so far and it's a huge step forward, and I'm really excited by this hybrid SSG/SSR approach that SvelteKit is offering, especially as it's "official".

I've been primarily a Vue dev for quite a few years and never really considered investing much time in other emerging frameworks, but I'm very tempted to seriously dive into Svelte at this point.

JS/front-end often gets a bad rap on HN. I see complaints that things have become unnecessarily complicated or that all these frameworks are overkill, but I can build pretty complex, well structured applications with relative ease these days, and I have way more fun doing it, most of the time. I suppose I owe a lot to people like Rich Harris and Evan You who are genuinely making the work I do more enjoyable. Looking forward to trying this out.

Post reply on HN