Live data from Hacker News

SvelteKit Is in Public Beta

svelte.dev

31–40 of 119 posts

Re: SvelteKit Is in Public Beta

#31
post #22

What is SvelteKit? The linked page assumes I already know and have just been waiting for an announcement. I have heard a bit about Svelte. I love the analogy with spreadsheets, where original spreadsheets reevaluated every cell whenever any cell changed. Modern spreadsheets maintain a dependency graph, so when something changes, only the direct dependencies are even evaluated. If any of them change, then only their d…

It's an application framework for Svelte which replaces Sapper.

It uses Vite[1] for development and has been designed from the start to be able to produce static sites a la Gatsby or Next (Sapper wasn't great at that). Svelte Kit runs SSR on Node JS servers like Sapper did, but also on cloud functions and I think even Cloudflare Workers which do not run Node.

[1] https://vitejs.dev/

Re: SvelteKit Is in Public Beta

#32

Earlier quoted context omitted.

I’d like to know what he/she said, given it was their digital last words on the site.

You can enable display of dead/flagged comments in the settings.

Haha thank you kind stranger! I've been a member since 2012 and while I've visited my profile tons of times, for checking comments and submissions, I've apparently never stopped to look at the settings and what they might do. I have a userscript that makes the main view 69ch wide and blurs my username, but I've never even been aware that the site actually has its own customization settings. :facepalm:

Re: SvelteKit Is in Public Beta

#33
post #14

Out of curiosity, how does SvelteKit differ from Sapper? I haven't been involved with Svelte for some time. Looks cool by the way, I think Svelte is a really great product.

This blog post gives a bit more information on that: https://svelte.dev/blog/whats-the-deal-with-sveltekit , though the section on Snowpack is out of date. Basically, SvelteKit is serverless-first (whereas Sapper made you choose between a Node server and prerendered HTML), and because it's powered by Vite has a much nicer developer experience. It also fixes a few of the rough design edges in Sapper. This migration gu…

Hey Rich, is partial hydration on your roadmap for SvelteKit?

Re: SvelteKit Is in Public Beta

#34
post #32

Earlier quoted context omitted.

You can enable display of dead/flagged comments in the settings.

Haha thank you kind stranger! I've been a member since 2012 and while I've visited my profile tons of times, for checking comments and submissions, I've apparently never stopped to look at the settings and what they might do. I have a userscript that makes the main view 69ch wide and blurs my username, but I've never even been aware that the site actually has its own customization settings. :facepalm:

With pleasure.

FYI: [dead] means the account is (shadow)banned, while [flagged] just refers to the particular comment.

Re: SvelteKit Is in Public Beta

#35

Self promotion: For those interested, I did a video tour of the examples provided with SvelteKit (38 minute) - https://www.youtube.com/watch?v=qmwJTI-vH6w Definitely a little rough around the edges (the real-world application has bugs), but it is public beta, so it's not surprising.

Hey I hope you don't mind a bit of constructive criticism: you should look into getting a pop filter for your mic. I'm very sensible to pops and esses so it might not bother others but it's a very cheap upgrade that you might want to consider :) You can also experiment by placing at a 45°angle (point the mic towards your mouth, not your mouth towards the mic) and placing it slightly sideways. It'll help with sibilanc…

Thanks for the feedback- I'm always looking to improve (I just bought a new webcam). I'll look into a pop filter today!

Re: SvelteKit Is in Public Beta

#36
> Even though it was far from ready, SvelteKit was the only framework that matched our esoteric requirements. (Anyone who has worked in a newsroom and done battle with their CMS will know what I'm talking about.)

I would be interested to hear more about the esoteric requirements; whether they're performance-related, have to do with what's representable in the CMS, or something else. At any rate, those NYT covid tracker pages are great and I have (sadly) spent a lot of time with them over the past year.

Re: SvelteKit Is in Public Beta

#37
post #36

> Even though it was far from ready, SvelteKit was the only framework that matched our esoteric requirements. (Anyone who has worked in a newsroom and done battle with their CMS will know what I'm talking about.) I would be interested to hear more about the esoteric requirements; whether they're performance-related, have to do with what's representable in the CMS, or something else. At any rate, those NYT covid track…

i was surprised to learn how many counties in the US are still considered high risk.

also its a pretty cool indication of trust in Rich that they let him build his own metaframework and dogfood it in production at NYT scale. not sure what else i can draw about that (its probably not a good idea to let most devs do that) but its cool

Re: SvelteKit Is in Public Beta

#38
post #33

Earlier quoted context omitted.

This blog post gives a bit more information on that: https://svelte.dev/blog/whats-the-deal-with-sveltekit , though the section on Snowpack is out of date. Basically, SvelteKit is serverless-first (whereas Sapper made you choose between a Node server and prerendered HTML), and because it's powered by Vite has a much nicer developer experience. It also fixes a few of the rough design edges in Sapper. This migration gu…

Hey Rich, is partial hydration on your roadmap for SvelteKit?

That's a Svelte issue rather than a SvelteKit issue. It's on our _radar_, though I don't know if I'd say it's on our _roadmap_ just yet

Re: SvelteKit Is in Public Beta

#39
post #33

Earlier quoted context omitted.

This blog post gives a bit more information on that: https://svelte.dev/blog/whats-the-deal-with-sveltekit , though the section on Snowpack is out of date. Basically, SvelteKit is serverless-first (whereas Sapper made you choose between a Node server and prerendered HTML), and because it's powered by Vite has a much nicer developer experience. It also fixes a few of the rough design edges in Sapper. This migration gu…

Hey Rich, is partial hydration on your roadmap for SvelteKit?

i would also like this. i recall Rich musing on some of the "hydrating unnecessary content" problems in this post https://dev.to/richharris/in-defense-of-the-modern-web-2nia so i imagine its on his mind. Elder.js solved it in a way, i'd love to see Rich's spin on it.

Re: SvelteKit Is in Public Beta

#40
post #23

Forgot to mention what SvelteKit is ...

> If you have a app that you'd like to migrate to SvelteKit, you'll find instructions at . Ok can't copy/paste anchor text apparently, but yeah I'm confused as well. I just read a bit about Sapper the other day, is this a replacement? :shrug:

yes it is a replacement. bunch of internal reasons, but everyone is onboard.
Post reply on HN