Master Svelte reactive state patterns
svelte-runesskillsetup L1★0
Andreicr1/netz-analysis-engine ↗What it does
Guide Svelte 5 reactive state, props, and effects via rune selection and migration
Best for
Quick rune selection and Svelte 4→5 migration guidance to prevent reactivity bugs
Inputs
- · component code snippet
- · reactivity question (state/computed/side-effect)
Outputs
- · correct rune ($state, $derived, $effect, $props, $bindable)
- · working code example
Preconditions
- · Svelte 5.x project
- · no Svelte 4 syntax mixing
Failure modes
- · reactivity missing if rune placed in function instead of top-level
- · overridden $derived uses wrong syntax
Trust signals
- · distinguishes top-level vs scoped
- · warns against 4/5 mixing
- · references migration-gotchas.md