Profile avatar
benmccann.com
Investor and entrepreneur. SvelteKit maintainer. Co-founded Connectifier - acquired by LinkedIn
84 posts 1,384 followers 86 following
Regular Contributor
Active Commenter

✨ The results are in - Opus 4 and Sonnet 4 are very capable of writing Svelte 5 code out of the box, without excessive prompting or llms.txt files! All results here: khromov.github.io/svelte-bench... Bonus: A TODO app written with Svelte 5 / Opus 4 in one shot: svelte.dev/playground/e...

Claude 4 joins Gemini 2.5 in having a knowledge cutoff recent enough to write Svelte 5 code!

Node.js—I just learned that there is: npm init --init-type=module --yes But it doesn’t help much. I’ll probably continue to use `npm init` without that flag and change "commonjs" to "module" manually. It feels like npm could switch to "module" as the default now.

Very nuanced and insightful read about a React->Svelte migration story! Includes: - benefits of Svelte - how to approach the migration - how to render Svelte components in React and vice versa

I made a video explaining the new Svelte `@​attach` feature which is the `onMount` for elements and how it improves on Svelte actions using GSAP as an example. 🔥 youtu.be/9PREEREiPAE

Attachments are now out as part of Svelte 5.29! They're a better version of the `use:` actions that Svelte has historically used and let you "attach" actions like: <button {@attach tooltip('Hello')}>Hover me</button>

If anyone is interested in building truely native apps with #svelte and #lynxjs, please reach out! We have a working prototype but need funding to make that production ready and usable for the wider ecosystem 🤗

We just released a huge improvement to SPA support in SvelteKit 2.21.0. You can now write client-only load functions without it triggering a crash during the build process. Thanks to @bholmes.dev for reminding us of this issue and spurring us to work on it and Tee Ming for implementing it!

today the svelte CLI merged this. big chunk of work, moving back onto clack main and dropping their fork. this involved a whole bunch of feature work in clack, big thanks to the @svelte.dev and @bomb.sh teams

Added 30 New Components in Shadcn Svelte Blocks New - CLI Support for installing components using jsrepo.dev Checkout : sv-blocks.vercel.app

✨ How good are AIs at writing Svelte 5 code? I decided to test the newest models and find out. More info soon, but the tldr is: Gemini 2.5 Pro is best, all OpenAI models do poorly. Base results: khromov.se/svelte-bench With llms-small.txt: khromov.se/svelte-bench... #svelte

Happy *Publish All NPM Packages as Standard JS Modules Only Day* to all who celebrate! 🎉 All supported versions of Node now support require() of standard JS modules, aka require(esm). So add type: "module" to your package.json, simplify your build, and spark some joy! nodejs.org/en/about/pre...

So, some of you may know that recently I'm working full time on the svelte renderer API thanks to the company I work for ( @mainmatter.com ). This will unlock using Lynx to build native applications with svelte. There's still a lot of work to do but isn't a counter the mother of all apps? 🧡😍

Massive shout out to @e18e.dev for all the help slimming down Storybook. They are doing so many great things for the ecosystem!!! 💐

Svelte Summit is happening in two weeks and if you can't join us in Barcelona you can now get tickets for the live stream! The price is $40 + VAT. For more details visit our updated website. www.sveltesummit.com

A prerelease of Changesets v3 is out! Some code and dependency cleanups so far, with more minor breaking changes soon, but should be simple to upgrade. Thanks to @andarist.bsky.social for helping to make this happen. github.com/changesets/c...

Out of all the frameworks I’ve tried to convert to my favorite contacts app tutorial (RedwoodSDK, Waku, React Router 7, SvelteKit, SolidStart, Nuxt, Angular), React Router 7 and SvelteKit have been by far and away the easiest and best UX implementations.

Tanstack svelte-form is available now!

Svelte 5 usage just passed Svelte 4 usage! If you haven't migrated yet, there's a great migration tool available via the CLI, playground, and VS Code! We've also been steadily improving the docs and smoothing out any rough edges we notice people hitting to help people adopt the new version.

`<BarChart radial>` coming along nicely

Okay, maybe we played a bit too much with transitions. But hey, when you spend hours to figure out how to plot trading times of different indices on a non-continuous time scale, then you've well deserved a little bit of Svelte fun. 🧡📊 Stock charts for @spiegel.de. Try on your own: spiegel.de

SPECIAL 33% OFF FLASH SALE SVELTE SUMMIT TICKETS! Only 10 available! Now's your chance to snag a cheap Svelte Summit ticket! Use the code `33-off-april` www.tickettailor.com/events/svelt...

E2E tests or unit tests? What if there was something in between? Jeppe Reinhold @reinhold.is will show how Storybook, Svelte, and Vitest can power interactive, shareable component tests at Svelte Summit Spring 2025.

A great effort towards cleaning up the JS ecosystem!

ParaglideJS Version 2 for Svelte / SvelteKit has been released. I’ve been using v1 with mixed feelings, but FWIW from following the v2 beta sprint, it’s truly an improvement. Congrats to the team! Robust i18n is a critical component for the Svelte|Kit ecosystem www.reddit.com/r/sveltejs/s...

Hey everyone...got a question for the man himself @rich-harris.dev ? Drop them here because episode 100 (on the 11th of April) is gonna be a big one! forms.gle/YLoWkh6UoSQC...

As of @svelte.dev 5.25 you can temporarily override a derived value, which is very handy for optimistic UI • demo svelte.dev/playground/3... • docs svelte.dev/docs/svelte/...