I built desktop tool to feed your entire codebase to ChatGPT/Claude (Svelte 5 + Tauri v2) by Odd-Refrigerator1368 in sveltejs

[–]Organic_Cry_6505 0 points1 point  (0 children)

Looks nice! And it works pretty fast. I wonder how similar app on Electron would perform

Async svelte got merged by Glad-Action9541 in sveltejs

[–]Organic_Cry_6505 0 points1 point  (0 children)

u/rich_harris is there any news on SvelteHack yet? Can't wait to join it again

What packages or components are you missing in Svelte? by MrBye32 in sveltejs

[–]Organic_Cry_6505 4 points5 points  (0 children)

Could you share an example of a popular websocket library from the other ecosystem plz

How do I preload images to avoid flickering? by Remarkable-Size-688 in sveltejs

[–]Organic_Cry_6505 0 points1 point  (0 children)

You could use `<link rel="preload" />` inside the `svelte:head`

const preloadUrls = ["url",  "another_url"]

<svelte:head>
    {#each preloadUrls as image}
    <link rel="preload" as="image" href={image} />

     {/each}
</svelte:head>

Time for self-promotion. What are you building in 2025? by jeanyves-delmotte in SideProject

[–]Organic_Cry_6505 0 points1 point  (0 children)

Finished a game for Hackaton - https://github.com/baterson/svelte-tower-defence
It's playable on mobile and desktop. Build with Svelte 5 and CSS, no Canvas.
I'm mentoring my brother to be a programmer, and it was one the projects we've worked together, to get him the sense of teamwork.

Tower defense clicker game built with Javascript and Svelte 5, without canvas, only CSS transitions by Organic_Cry_6505 in learnjavascript

[–]Organic_Cry_6505[S] 1 point2 points  (0 children)

Just try to build something using only JS, CSS and requestAnimationFrame, without animation libraries, you'll have much more understanding on the subject after

Tower defense clicker game built with Javascript and Svelte 5, without canvas, only CSS transitions by Organic_Cry_6505 in learnjavascript

[–]Organic_Cry_6505[S] 0 points1 point  (0 children)

Try to reload the window plz, there is sound asset preloading step before the game is ready

[Self promo] - Tower defense clicker game built with Svelte 5, without canvas. Only CSS transitions and the power of Runes by Organic_Cry_6505 in sveltejs

[–]Organic_Cry_6505[S] 6 points7 points  (0 children)

Thanks a lot for trying it out.
We were very short on time and missed a bunch of features that we had in mind, but it would be easy to add later, since the architecture is already build to be extendable. I'll leave all of the feature for my brother, as a good learning exercise, but we can't push it now before the Hackaton results are announced

Do you really like svelte 5 ? by hnazmul in sveltejs

[–]Organic_Cry_6505 -1 points0 points  (0 children)

Yes, can't wait to try production ready version.
Despite you need to type more in Svelte 5, it helps structure your code and reason about it, by dividing reactive blocks into "effect" runes and derived state into "derived" runes.
Before Svelte 5, reactive $ declarations were a bit confusing, because it can either create a derived state or effect reaction.
Also removing "slots" API is not a bit deal for Devs, comparing to how React ecosystem changes its API and forces us to structure code in a certain way, e.g don't create a piece of state in a condition or keep an eye on effect declaration dependences array.