3 ms·
I agree with you error boundaries are a huge omission. You can do basic error boundaries using one of these two packages: * https://github.com/crownframework/s
by zapt02 5y ago
I agree with you error boundaries are a huge omission. You can do basic error boundaries using one of these two packages:
* https://github.com/crownframework/svelte-error-boundary https://github.com/crownframework/svelte-error-boundary
* https://github.com/denisstasyev/svelte-error-boundary https://github.com/denisstasyev/svelte-error-boundary
They only protect from component initialization errors but it's better than nothing. I think Svelte v4 will have more coherent error handling.