> Svelte 5 Runes
Svelte 5 reactivity with $state, $derived, $effect runes and component patterns.
fetch
$
curl "https://skillshub.wtf/skillshub-team/catalog-batch5/svelte5-runes?format=md"SKILL.md•Svelte 5 Runes
Svelte 5 Runes
Reactivity
<script>
let count = $state(0);
let doubled = $derived(count * 2);
$effect(() => { console.log('Count:', count); });
</script>
<button onclick={() => count++}>{count} (doubled: {doubled})</button>
Props
<script>
let { name, age = 25 }: { name: string; age?: number } = $props();
</script>
Stores (shared state)
// stores.svelte.ts
class CounterStore {
count = $state(0);
increment() { this.count++; }
}
export const counter = new CounterStore();
> related_skills --same-repo
> Nix Dev Shells with direnv
Auto-activate reproducible dev environments with Nix flakes and direnv.
> Dagger with GitHub Actions
Run Dagger CI/CD pipelines in GitHub Actions for portable, testable builds.
> Bun + Hono API
Build fast APIs with Bun runtime and Hono framework.
> Deno Fresh Framework
Build full-stack web apps with Fresh on Deno. Islands, routes, and zero runtime overhead.