https://svelte.dev/repl/d8c112a251984339b564f0506365e32f?version=3.6.7 It seems like default prop value is used only once (after the mounting), and it doesn't work after that.