Svelte Adds Asynchronous Sync Inside Components

0
35


This week, Svelte published a roundup of new feature upgrades and bug fixes. The big news is that Asynchronous Svelte is now available in Svelte’s full-stack web application framework, SvelteKit.

In its GitHub repository, the project explained that this is actually an old idea reborn in a more efficient manner.

“In olden times, we did asynchronous work like fetching data inside onMount or an {#await ...} block. This works, but it’s quite verbose and offers no coordination — if two components are both fetching stuff, then they will…



Source link

This site uses Akismet to reduce spam. Learn how your comment data is processed.