bertbengtson.bsky.social
Software dev specializing in MDD (Meme Driven Development)
23 posts
255 followers
73 following
Regular Contributor
Conversation Starter
comment in response to
post
How i be walking into svelte summit to defend my title as worlds tallest svelte developer.
comment in response to
post
Awesome work Matt! I’ve been using unpic for 2 years now and it is amazing!
I’m honored I got to contribute the Svelte 5 component for this release!
comment in response to
post
Love this! fixes all my current problems with actions. Main one being they don’t work with components.
No more bind:element onMount action(element)
Super excited to see it implemented!
comment in response to
post
comment in response to
post
Bought my ticket! Can’t wait!
comment in response to
post
Can’t wait! Still haven’t forgotten the drink I owe you! 😂
comment in response to
post
Vitest, testing library, jest-dom. Though I have tried happy-dom a bit.
Most of my tests for components are pretty dumb though just checking if it renders with the right accessibility attributes. if the logic gets more intense we split it into a separate file and test that.
comment in response to
post
My hint for when to use them is if it only happens on client and doesn’t need SSR it is usually best an action.
For example I’ll shamelessly plug my phone number formatter I recently wrote. It only needs to format in response to the user typing. So action fits well
gist.github.com/bertybot/024...
comment in response to
post
I’ve recently come to a revelation of how much I have underutilized them. Mostly from migrating to svelte 5. Most of my effect calls were from doing stuff with element that were easily replaced with an action.
More efficient and reusable too!
comment in response to
post
First time cookin turkey for the fam. I’m so nervous! Lol
comment in response to
post
comment in response to
post
Bruh 😂
github.com/bertybot/sve...
comment in response to
post
Respect the ogre battle 64 pick.
comment in response to
post
This reply is only on bsky
comment in response to
post
Oh damn I got to think of something lol