Minimal reproduction for a SvelteKit bug where snapshot restore causes a brief UI flash with the initial state value.
npm install && npm run dev$inspect outputThe restored snapshot value should be applied before the first render, without showing the default state value.
The default value ("hello") briefly flashes in the UI and appears in $inspect before being replaced by the restored snapshot value.