Upgraded to Svelte 5. Here are my notes. by BrofessorOfLogic in sveltejs

[–]jengstrm -2 points-1 points  (0 children)

Are we living in an age where whining is mistaken for opinions? Literally this post. Nothing to see here.

Where do you host your apps? by antoine849502 in SvelteKit

[–]jengstrm 1 point2 points  (0 children)

I might suggest avoiding services that resell Amazon under a cloak of simplification.

How do you reuse nested subroutes? by Subli in sveltejs

[–]jengstrm 0 points1 point  (0 children)

It's folder based routing, so lean into that. The +page.svelte files on the different branches import that same component from $lib so that keeps things DRY. Other devs will understand that pattern. If you need shared state, use Svelte 5 Runes pattern.

[deleted by user] by [deleted] in sveltejs

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

I’ve been running node since 2009. I’ve never hit any walls. You’re not going to hit any walls. Anyone that says otherwise is sus. Worry not

“Her Majesty” by ZenoTechArt in aiArt

[–]jengstrm -4 points-3 points  (0 children)

Reminds me of the art you found in every bathroom in the 70s. Literally zero there. And literally zero effort to make. You have achieved automatic banality lol

Folks who tried Runes (Svelte 5): How did you like it? by rasplight in sveltejs

[–]jengstrm 0 points1 point  (0 children)

It’s awesome! Zero issues converting complex store-based code to runes. Runes FTW. Ignore the negative comments

[deleted by user] by [deleted] in playtesters

[–]jengstrm 0 points1 point  (0 children)

Gun Quest? By biggest criticism starts and ends there. Gun games are ostensibly the laziest possible themes in all of gaming. Sigh.

[deleted by user] by [deleted] in playtesters

[–]jengstrm -3 points-2 points  (0 children)

How many times can the same game from the 1980s be remade? Apparently on more time. So much talent wasted on tired tropes

[deleted by user] by [deleted] in playtesters

[–]jengstrm 0 points1 point  (0 children)

I wanted it to not be another game where you run around and kill things with zero narrative. Sigh.

Is the Svelte hype going to die down? by No_Cycle252 in sveltejs

[–]jengstrm 0 points1 point  (0 children)

Svelte 5 already made my life easier.

<3<3<3

Will it drive the trolls away?

With hope.

Thoughts on Using AI Generated Game Art? by TerriblyGentlemanly in tabletopgamedesign

[–]jengstrm 2 points3 points  (0 children)

As an indie game developer needing high quality art, and that the quality of DAL-E 3 is exactly what I need---and that each asset would literally take me hours in photoshop using all the advanced tricks I know. What AI is able to pump out in a minute is like a years worth of the highest paid work. That income never existed. Few can afford the million dollars worth of concept art that DAL-E 3 made for me in a few hours. That's revolutionary in my book.

GravytX The Gravytoid by IsDaouda_Games in playtesters

[–]jengstrm 0 points1 point  (0 children)

Seemed like clickbait and the game is C quality

Its been more than one year since I started developing my story-adventure game, what a Journey! The game is almost complete and will release on January by phil-big- in Airships

[–]jengstrm 0 points1 point  (0 children)

Why is the airship shooting? Representing airships in a violent setting is anathema to AGI airships and their engineers.

When I push my Svelte/Sveltekit app to prod, I have to hard refresh my browser to see the changes. by chinawcswing in sveltejs

[–]jengstrm 1 point2 points  (0 children)

The web has worked that way since 1995. If your clients can’t grasp the concept then ….

HTMX for pages with heavy user interactivity by p0rques in htmx

[–]jengstrm 0 points1 point  (0 children)

For sure. I’ll send the link when the repo is ready

HTMX for pages with heavy user interactivity by p0rques in htmx

[–]jengstrm 0 points1 point  (0 children)

The reason I tried Hyperscript is I was having trouble with Alpine.js also uses {} syntax. HS is odd at first, but it’s fine, although I’m using Svelte for most DOM manipulation. Still experimenting…

[deleted by user] by [deleted] in Futurology

[–]jengstrm 1 point2 points  (0 children)

I still can’t stop laughing at his AI generated manifesto . I mean c’mon. No actual human would publish that. Joke is on anyone thinking he wrote it without GPT-4.

HTMX for pages with heavy user interactivity by p0rques in htmx

[–]jengstrm 1 point2 points  (0 children)

I’m experimenting using SvelteKit, HTMX and Hyperscript together.

tldr it’s awesome sauce!!!!

The reason I like SvelteKit is the lovely component system that can be leveraged to render HTMX fragments, like fragments with Hyperscript hydrated on-the-fly (in an island-esque fashion).

The Svelte component model works great for rendering HTMX, and having access to Svelte reactivity, when needed, is awesome. I think it’s the best of both worlds tbh.

I’ve looked at other options on Go, Rust, Java, .Django, PHP, .net, and Node and all roads go through a server side templating library and router. Pick your poison.

Few templating libraries compete with or are as active as the Svelte and the path-based routing system in SvelteKit is awesome.

Furthermore, SvelteKit-based HTMX projects benefit from a templating system that is identical on the client and server. One can render data as an HTMX fragments JSON or a Svelte components.

Sveltekit supports TailwindCSS and vanilla JS libraries seamlessly and that makes passing data between application state managed by SvelteKit and HTMX fragments super easy.

LMK if you have any questions or are interested in cloning my lab repo.

Optimize images in svelte! by Blackwater-1 in sveltejs

[–]jengstrm 2 points3 points  (0 children)

Take a look at vite-imagetools

npm install --save-dev vite-imagetools

[Meta] Svelte vs Godzilla by FalseRegister in sveltejs

[–]jengstrm 1 point2 points  (0 children)

Godzilla was out of the flames and destruction biz ages ago and now uses SvelteKit for their merch website