SvelteRust
svelterust.bsky.social
SvelteRust
@svelterust.bsky.social
🚀 Follow if you like Svelte or Rust
💡 Building MVPs for a living
👉 Visit http://svelterust.com
If you want to generate clean Svelte 5 when using LLMs like Claude 3.5 Sonnet or MiniMax 01, then you need to use llms.txt as context which you can find here: svelte.dev/docs/llms

With this, the LLM will generate proper Svelte 5 code instead of legacy Svelte 4 code.
svelte.dev
January 20, 2025 at 11:00 AM
Did you know it's actually possible to use React libraries seamlessly in Svelte?

Thanks to the bfanger/svelte-preprocess-react project, you can use any React library you want.

Great if there's something you need and it's exclusive to React.
January 19, 2025 at 11:00 AM
Try Svelte Inspector if you haven't! Forget manual searches. Just use a keybinding and click an element—your editor will jump right to it.

Gone are the days of manually ripgrepping and searching for that element you can see in your browser.
January 18, 2025 at 11:00 AM
Deep dive on Superforms is also required. It's super useful once you learn how it works and how you use it with other parts of Svelte.
January 17, 2025 at 11:00 AM
Here's some benchmarks from their GitHub which you can check it out here: github.com/MiniMax-AI/...
January 16, 2025 at 11:11 AM
New AI model called MiniMax 01 just dropped, and it has a whopping 4M context window, which is absurd compared to the industry standard of 128K-256K.

Wonder how it actually performs to other models, recently both DeepSeek V3 and MiniMax 01 has been released.

Exciting times!
January 16, 2025 at 11:10 AM
Snippets with Svelte 5 can't be underestimated. They are super powerful compared to slots and makes the code even more flexible.

Gonna make a video on it soon.
January 16, 2025 at 11:00 AM
Dynamic forms can be difficult to get right..

But thanks to Superforms + Formsnap it actually works quite well, and you get 100% typesafety from server to client with realtime validation.

Check it out: www.formsnap.dev/docs/recipe...
January 15, 2025 at 11:00 AM
Did you know, in Svelte 5 you can call push() on arrays directly instead of having to create a new array:

Before:

let numbers = [];
numbers = [...numbers, 123];

After:

let numbers = $state([]);
numbers.push(123);
January 14, 2025 at 11:00 AM
It seems a lot of people aren't enjoying Svelte 5 because they believe it's more verbose or less magical.. Here's what I think:
January 13, 2025 at 11:00 AM
Want to start building your next startup as fast as possible and start earning money online?

Today I'm releasing the 🚀 MVP Starterpack 🚀, which is a complete starterpack for SvelteKit that has the features you need to ship quickly:
January 12, 2025 at 5:45 PM
My tech stack for 2025:

SvelteKit + DaisyUI + Formsnap + Drizzle for web apps

SvelteKit + DaisyUI + Formsnap + Tauri for desktop & mobile apps

If there's any performance issues, I'll use Rust with WebAssembly/ or create a micro service

Fly.io for hosting!
December 17, 2024 at 8:00 AM
To add daisyUI + icon library (with Iconify, supports 200000+ icons) to your Tailwind project, run:

bun install -D tailwindcss postcss autoprefixer daisyui @egoist/tailwindcss-icons @iconify-json/lucide

Then modify your Tailwind config and add the plugins.
December 6, 2024 at 8:00 AM
TailwindCSS + egoist/tailwindcss-icons + daisyUI is really nice to get styling, icons and nice components working in any framework you want. Minimal bundle size too!
December 5, 2024 at 4:00 PM
daisyUI + Geist font looking good and simple to setup. shadcn is great and works amazingly, but it's kind of complex and becomes a little hard on the eyes in my opinion. Great thing about daisyUI is if you use different frameworks, then you can always use the same UI libraries
December 5, 2024 at 10:26 AM
Fly.io is a really nice platform to work with when deploying my fullstack applications. It's super straightforward, just works, cheap (scale to zero with suspend mode, I don't pay a dime), and it offers Tigris with Postgres out of the box.

Great stuff!
November 29, 2024 at 11:00 AM
Has anyone found a good solution for sending errors from anywhere on the server to the client? Like toasts from the server.
November 28, 2024 at 9:51 AM
The new snippets feature of Svelte 5 is quite nice to work with, instead of having to declare data as array of objects then render with {#each}, I can just write the data directly:
November 26, 2024 at 4:00 PM