Svelte 5 Released
51–60 of 254 posts
Re: Svelte 5 Released
#52Do they still operate with very little backwards compatibility policy? They killed the sapper project and replaced it with sveltekit. Is sveltekit still alive?
Why makes you think SvelteKit could be dead? What a weird a pessimistic phrasing.
Re: Svelte 5 Released
#53I made my first website a few months ago (I'm an ML engineer). I tried in both Svelte and React.
I used Sonnet as a copilot the whole time and expected Svelte to be more difficult because there are orders of magnitude less training data on it.
To the contrary! The LLM tied itself in knots very quickly with React but mostly did ok with Svelte/Sveltekit. Also, the Svelte stuff it makes is usually snappier. However it does have a wider range of UI widgets it can grasp with React.
It seems that my opinion that React is horrendously and hideously overcomplicated is at least somewhat objective! Svelte has been quite pleasant.
To any devs out there that have to work with React, you have my sympathies. Compared to Svelte it's just flaming hot putrid garbage.
Re: Svelte 5 Released
#54An interesting datapoint: I made my first website a few months ago (I'm an ML engineer). I tried in both Svelte and React. I used Sonnet as a copilot the whole time and expected Svelte to be more difficult because there are orders of magnitude less training data on it. To the contrary! The LLM tied itself in knots very quickly with React but mostly did ok with Svelte/Sveltekit. Also, the Svelte stuff it makes is usua…
Now granted I’d never use a reducer, and imo a decent state library is the biggest win if you are using React.
Re: Svelte 5 Released
#55Is there are Svelte 5 Runes tutorial for those who are familiar with previous Svelte and Sveltekit?
Re: Svelte 5 Released
#56Re: Svelte 5 Released
#57Is there are Svelte 5 Runes tutorial for those who are familiar with previous Svelte and Sveltekit?
(edit) Sorry, for previous users the preview site might be better: https://svelte-5-preview.vercel.app/docs/introduction
Re: Svelte 5 Released
#58Svelte 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 .sv…
Re: Svelte 5 Released
#59Re: Svelte 5 Released
#60Earlier quoted context omitted.
Definitely try Astro for static sites, I'm loving it!
Do you think Astro would be good for a site with tons of data (graphs, tables etc)? Can it be used with db, user logins?
For DB and user logins, you might have to run in SSR mode to be able to do server-side stuff, but you can certainly build API routes, server middleware and interact with cookies for user token stuff.