Brian Beard@babeard.comFinally playing around with Svelte's new exportable snippets + error boundaries. A fantastic combo. 😍23/12/24, 9:27 pm·0 reposts·4 likes
Sébastien@shyrogan.fr24 Dec 2024Not sure to understand why you would use a snippet here instead of a component1
Brian Beard@babeard.com24 Dec 2024Hmm. Can you pass components to <svelte:boundary failed={component}>? I'll have to check. Perhaps I'm missing something, but if true that makes sense. 🤔1
{🧪} +paoloricciuti.svelte@paolo.ricciuti.me24 Dec 2024You can't immediately pass a component but you can just create a snippet that just renders the component. But tbh this is a more than ok solution21