https://devhubby.com/thread/how-can-i-update-a-value-inside-onmount-in-svelte