import { type Snippet } from "svelte";
let { children }: { children: Snippet } = $props()
is such a catastrophic downgrade from when you just want to write a simple component that wraps other stuff. Yeah, is still available, but Svelte will shout at you once you start using runes.
let { children }: { children: Snippet } = $props()
is such a catastrophic downgrade from
Comments
```
Foo is {$props.foo}, and bar is {$props.bar}!
```
I can only dream =)
export let foo: string;
was very ergonomic for declaring and typing props. Nowadays adding types to props feels like Like deadweight in a way.