Kyrre
kyrre.dev
Kyrre
@kyrre.dev
Scrappy Startup Dev | 📍Berlin

Coming from a background in art and music

Love to create things

www.kyrre.dev
This is the way
October 2, 2025 at 5:46 PM
Wth, this is what I miss when I’m not on xitter, time to move my sites off Vercel!
September 30, 2025 at 10:07 PM
2 year “higher professional degree” in FE web development, the most useful part of it was having 2 years where I could go deep in a topic, and build things just to see how they work
July 21, 2025 at 10:00 PM
If you’re looking for direct component testing instead of the whole page, Vitest might be a better choice. Afaik you cannot use playwright’s experimental component testing mode with Svelte yet.
July 20, 2025 at 6:54 PM
I don’t think you would need anything Svelte specific when testing with playwright. It’s working in the browser layer and does not really care about the underlying language that drives the page.

I’ve written some blog posts about playwriting and playwright setup here: www.kyrre.dev/blog
Kyrre Gjerstad | Fullstack Typescript Developer
Explore the portfolio of Kyrre Gjerstad, a fullstack developer specializing in SvelteKit and NextJS.
www.kyrre.dev
July 20, 2025 at 6:30 PM
ts discriminated union handling works better at the top level than with nested structures, if you switch to `as const`

```ts
const b2 = 'kozijn' as const;

const a2: A2 = {
nested: {
b: b2,
c: null,
},
};
```

the error goes away.
June 22, 2025 at 2:05 PM
Check out the SvelteKit loader pattern for an even cleaner syntax
June 9, 2025 at 6:36 PM
Please tell this to my cat
May 24, 2025 at 9:31 PM