svelte tip – Delay loading spinner
Tue Oct 17 2023 07:59:00 GMT+0000 (Coordinated Universal Time)
Saved by @passoul #svelte #delay-loading-spinner
Instead of showing loading spinner from the very first millisecond, wait for 200ms, then show. If the content loads before this 200ms, then no spinner! All with nested #await block 🔥
Comments