med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

354
active users

#svelte

0 posts0 participants0 posts today

For a #WebDev side project with #SvelteKit I used #WebStorm for the past few weeks but now switched to #VSCode. I love #IntelliJ IDEs and their powerful refactoring functionality; I know many of the keyboard shortcuts and I'm very productive. However some minor but in the long run annoying issues led me to VS Code. For instance WebStorm didn't recognize a custom third-party Web component although the type definitions are in the project. It was no problem for Code.

Playing around with a #SvelteKit web project and wanted to integrate social logins via Auth.js. #Google was simple but apparently for Sign in with #Apple you require a developer account (99USD/year) and an app in the AppStore. WTF Apple, why do you make it this expensive and complicated?! I want to support Apple users but sorry, not going to do that for a hobby project that doesn't generate any income!

I'm thinking of developing a new course or workshop in the fall.. would any of these interest you?

#webdev#svelte#html

Last night I spent some time looking a bit deeper into Pyloid and Wails; looks like Tauri's the only one that's thought about constraining the capabilities of the embedded web view.

Guess I have to learn Rust after all. And TypeScript. And Svelte. They seem like not-terrible JavaScript things.

I feel like Homer reading the Advanced Marketing book. tenor.com/en-CA/view/the-simps

I've been trying different frontend JS frameworks in some of my projects, and I'm... not as impressed with Svelte as I thought I'd be.

I've heard constant praise for this framework, and it is technically impressive, but there's just so much magic. Svelte 5 uses built-in not-quite-functions called runes, like $state or $derived, to mark certain variables as reactive state. When something reactive is updated, components redraw; otherwise, they don't. And when they don't, it's often very hard to figure out why. Plus the usual problems of the Vue-style component files: components aren't first-class objects, you have to put them in their own files, there's no JSX, etc.

I've written a lot of React, and React hooks are magical too, but this seems worse. Does it just feel that way because I've taken the time to get used to how React does things?

Maybe I'd use Svelte again on a project with (ironically) less reactivity, but my chat app uses websockets and indexeddb and lots of event streams, and Svelte just keeps getting in the way.

I'm considering trying Mithril.js next, which is, philosophically, the exact opposite. Sounds like a breath of fresh air.

Snooker is one of my favourite hobbies. I play (badly) and I watch it on TV.

And I've combined the snooker hobby with my programming hobby by writing a simple snooker scoreboard web app. TypeScript and Svelte 5 FTW.

There are many others, but this one's mine, it's free as in beer and free as in freedom. And it respects your privacy.

I call it Groovescore, with a hat-tip to my snooker club Groovetown Jack.

#snooker #typescript #svelte

groovescore.app/