Ben McCann
@benmccann.com
1.5K followers 88 following 210 posts
Investor and entrepreneur. SvelteKit maintainer. Co-founded Connectifier - acquired by LinkedIn
Posts Media Videos Starter Packs
benmccann.com
The only thing I can think of that's slow are certain libraries where you're bundling thousands of files such as icon libraries. Were you using an icon library or does Ark just have that many components? See here for notes on how to speed things up: svelte.dev/docs/kit/icons
Icons • SvelteKit Docs
Icons • SvelteKit documentation
svelte.dev
benmccann.com
I'm jealous! My PR to slim down dependencies was rejected because they weren't interested.
benmccann.com
Yeah. it's possible the first comment is outdated
benmccann.com
If you're on Discord you can follow the #bluesky channel. Everything the community posts is mirrored there
benmccann.com
Welcome! We won't be reconsidering anytime soon. Bluesky is a better experience. It has a Svelte starter pack (bsky.app/starter-pack...) and Svelte feed (bsky.app/profile/paol...) that makes it easier to stay up-to-date with what's going on in the Svelte community. I hope you'll give these a try!
benmccann.com
I prefer "don't set state in an effect"
benmccann.com
Yes!! Especially now that require(esm) is available it's time for everyone to move!
benmccann.com
Oh, I missed that Paolo replied with both of these suggestions 😆 Well great minds think alike!
benmccann.com
Not sure what you mean for the CSS issue

I probably wouldn't use stores for new code. They're still supported because they were more heavily used in v4

As I recall, most of the code examples these days are in TS and there's a toggle between TS/JS. Is there a specific place you had trouble?
benmccann.com
You can use this SvelteKit setting for a hash-based router: svelte.dev/docs/kit/con...

shadcn-svelte is probably the most popular UI library for Svelte
Configuration • Docs • Svelte
Configuration • Svelte documentation
svelte.dev
benmccann.com
Maybe it could be auto-generated from the replacements repo
benmccann.com
Aren't they chubby though?

Maybe something like a ferret would be more svelte? 😆
benmccann.com
It'd be awesome to switch `@vercel/nft` to it one day since `glob` is responsible for almost half of its dependency graph
benmccann.com
It took me a long time to discover you could add your own feeds. Making that more discoverable would go a long way towards fixing the issue
Reposted by Ben McCann
svelte.dev
lil' treat for all you weekend builders: Svelte now has an official MCP server, courtesy of resident bot wranglers @paolo.ricciuti.me and @khromov.se 🤖

it gives your LLM access to docs and compiler-driven diagnostics — give it a spin and let us know how you get on!

svelte.dev/docs/mcp/ove...
Overview • Docs • Svelte
Overview • Svelte documentation
svelte.dev
benmccann.com
Awesome!

How is Svelte support implemented? Does it use the Svelte parser or a re-implementation in rust?

Does it just check the contents of script blocks or does it try to do any checks of the template contents? How many rules from eslint-plugin-svelte might be available in Biome?
Reposted by Ben McCann
fubits.dev
Ilja @fubits.dev · 10d
The Svelte train is approaching 300km/h.
khromov.se
👀 Something very exciting is coming soon if you're using AI with Svelte. Watch this space! #svelte #ai
benmccann.com
We're really just taking submissions internally. We should update the docs somewhere to mention that. If there's some popular package we missed you can just let me know here
benmccann.com
There's a list that Svelte Society maintains as well. I think we'd like to coordinate with them so that more packages can be displayed there and then we can discover which ones are the most used to consider for inclusion. They're currently working on some updates on their side first though
benmccann.com
If you happen to be using Svelte with Astro, I have plenty of tips to share
benmccann.com
@43081j.com are you aware of any others?