Ben McCann's Avatar

Ben McCann

@benmccann.com.bsky.social

Investor and entrepreneur. SvelteKit maintainer. Co-founded Connectifier - acquired by LinkedIn

1,432 Followers  |  86 Following  |  119 Posts  |  Joined: 07.11.2024  |  1.9474

Latest posts by benmccann.com on Bluesky

We just did our first family outdoor climbing session this past week!

03.08.2025 14:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Remote functions β€’ Docs β€’ Svelte Remote functions β€’ Svelte documentation

SvelteKit remote functions are now available under an experimental flag. Docs here: svelte.dev/docs/kit/rem...

31.07.2025 21:13 β€” πŸ‘ 70    πŸ” 13    πŸ’¬ 1    πŸ“Œ 2

Run the migration tool and see what it touches?

26.07.2025 15:14 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

You don't like code that starts with the comment "this is hacky as all hell"?

github.com/sveltejs/kit...

25.07.2025 17:22 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I think that's certainly part of it. A gold medal IMO performance is worth billions to the companies involved.

24.07.2025 18:12 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I suppose the main difference compared to coding is that it's easier to verify a correct answer which is what enables throwing compute at it. In coding, determining that one approach is "better" than another is perhaps fuzzier.

24.07.2025 18:10 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
feat: typed route ids by Rich-Harris Β· Pull Request #13864 Β· sveltejs/kit resolves #11386 This is long overdue, but @jycouet goaded me into working on it with the 1.0 release of vite-plugin-kit-routes πŸŽ‰ Everyone should have type safety when dealing with routes! This PR a...

URL references in SvelteKit are now type-checked to ensure the URL exists. Goodbye 404s!

github.com/sveltejs/kit...

24.07.2025 17:58 β€” πŸ‘ 59    πŸ” 3    πŸ’¬ 5    πŸ“Œ 3

What can we fix to make SvelteKit a better experience?

24.07.2025 17:42 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
SvelteBench Visualization

Have you tried Claude? LLM performance on Svelte varies greatly by model. Take a look at khromov.github.io/svelte-bench...

24.07.2025 17:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'm trying to understand how LLMs can accomplish this task when I see them make mistakes at far easier tasks coding an app, numeric calculations, and Towers of Hanoi. It's not as simple as just generating tons of answers since the answers are hard to verify.

22.07.2025 00:08 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
Remove dependency on `is` Β· Issue #1498 Β· googleapis/nodejs-bigquery A screenshot that you have tested with "Try this API". This dependency is unnecessary and was compromised today. More than 1/3 of its downloads come from this library. What would you like to see in...

Nearly no one uses this library precisely because it is bullshit. This isn't a JavaScript problem. This is a Google BigQuery problem: github.com/googleapis/n...

20.07.2025 00:02 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Community Showcase (Q2 2025) An update on what the community has been up to in Q2 of 2025

just some of the highlights of the great work the @e18e.dev community has been doing in the last few months. awesome work by everyone involved, and big thanks to all the maintainers who collaborated ❀️

18.07.2025 14:52 β€” πŸ‘ 39    πŸ” 15    πŸ’¬ 3    πŸ“Œ 3
Packages - Svelte Society We are a volunteer global network of Svelte fans that strive to promote Svelte and its ecosystem. As a service to the community, this site is a central index of events, a components directory, as well...

There are tons of options available at www.sveltesociety.dev/packages?cat...

14.07.2025 01:30 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - vitejs/devtools: DevTools for Vite (Rolldown). Working in Progress DevTools for Vite (Rolldown). Working in Progress. Contribute to vitejs/devtools development by creating an account on GitHub.

It looks like Vite is getting a new devtools πŸ‘€

github.com/vitejs/devto...

12.07.2025 12:58 β€” πŸ‘ 17    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

All you should have to do is use SvelteKit's adapter-cloudflare. Are you trying to do something unusual with fetch?

09.07.2025 03:08 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Svelte remote functions PR is out and here are the changes. πŸ”₯

I removed things so they fit in a post but I'm going to link to the updates and the PR. πŸ‘‡

04.07.2025 14:40 β€” πŸ‘ 35    πŸ” 2    πŸ’¬ 2    πŸ“Œ 3

Check out Immich if you need a Photos alternative!

02.07.2025 22:36 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Create dynamic social card images with Svelte components - Geoff Rich Generate custom og:images on-demand using Vercel’s Satori library

Nice! I guessed you might be using satori since that's what I've seen other libraries for this use (geoffrich.net/posts/svelte...)

28.06.2025 13:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
laboratory.love Crowdfund chemical testing on everyday items

I just came across a great site that lets the public crowdfund testing of their foods to check whether they contain hormone disruptors: laboratory.love

GitHub's founder did this and posted his results on plasticlist.org and it was really surprising how many products were found to contain phthalates

27.06.2025 18:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Oh yeah, great point about rendering a page. I only needed an API route for what I was doing

Exposing a way to add routes sounds like a great idea!

25.06.2025 17:40 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

SSR works with the handle hook. I'm pretty sure you don't lose anything at this point. I can think of hypothetical features that wouldn't work with it, but none of them exist yet, so you should be fine!

25.06.2025 00:42 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
feat: add SvelteKit support by benmccann Β· Pull Request #324 Β· simov/grant closes #321 closes #274

You can add as many routes as you'd like programmatically via SvelteKit's handle hook. I'm doing that in github.com/simov/grant/...

What kind of integrations are you thinking of where it'd be helpful to have a more specific API for adding new routes?

24.06.2025 16:02 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Introducing Ark UI Svelte A headless component library for Svelte 5 apps and design systems

Ark UI now supports Svelte and it looks really awesome!

ark-ui.com/blog/introdu...

23.06.2025 21:24 β€” πŸ‘ 29    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

The Remote Functions RFC from Svelte maintainers is really good. Not only do you get built-in optimistic updates, but also correct rollback to the correct state on both errors *and* random network latency out of the box! #svelte #javascript #sveltekit

22.06.2025 08:45 β€” πŸ‘ 38    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

SvelteKit now supports Rolldown for faster builds via Rust!

See the changelog for more details: github.com/sveltejs/kit...

Thanks to Tee Ming and @dominikg.dev for implementing and the @rolldown.rs team for a tremendous amount of support in making this work!

20.06.2025 03:24 β€” πŸ‘ 76    πŸ” 7    πŸ’¬ 2    πŸ“Œ 0

Wait until RPCs launch in SvelteKit and then create a new SvelteKit app from the CLI with the Drizzle add-on 😁

17.06.2025 23:00 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Remote Functions Β· sveltejs kit Β· Discussion #13897 tl;dr Remote functions are a new concept in SvelteKit that allow you to declare functions inside a .remote.ts file, import them inside Svelte components and call them like regular functions. On the...

hard to overstate how excited i am about this RFC β€” @dummdidumm.bsky.social is doing incredible work. this raises the bar for data fetching in frameworks, and unlocks some very cool new use cases for SvelteKit. we have a lot more ideas that will build on top of this work

github.com/sveltejs/kit...

17.06.2025 17:25 β€” πŸ‘ 166    πŸ” 25    πŸ’¬ 7    πŸ“Œ 8

Can you share examples of prompts it struggles with and what it returns? Perhaps we can add it to the Svelte LLM benchmark

17.06.2025 13:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yeah, it's basically impossible to use without pulling in dependencies that makes no sense for SvelteKit. I think it'd be easier to just build SvelteKit-specific auth ourselves. I sent a couple of PRs to grant a couple of weeks ago to add SvelteKit support to it.

14.06.2025 18:32 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
feat: support Rolldown by eltigerchino Β· Pull Request #13747 Β· sveltejs/kit Testing integration with https://github.com/vitejs/rolldown-vite TODOS fix the rollupOptions.onwarn setting not silencing the non-existent hook import messages ([Bug]: onwarn does not provide war...

Also of note, this doesn't work with SvelteKit yet. But it's being worked on! github.com/sveltejs/kit...

13.06.2025 18:17 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@benmccann.com is following 20 prominent accounts