Here's why passing a Svelte rune to a function warns you about never updating.
If you're not using proxied state the primitive value you're passing is the actual value at the time it was created.
Svelte catches this and knows you probably want to use a closure to update it.