svelte-error-boundary
svelte-error-boundary
svelte-error-boundary | svelte-error-boundary | |
---|---|---|
3 | 1 | |
72 | 10 | |
- | - | |
0.0 | 1.8 | |
over 2 years ago | almost 3 years ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svelte-error-boundary
-
Now that SvelteKit 1.0 is out, what would you like to see added to its ecosystem? What would make your life easier / take a part of its functionality the extra mile?
Apparently it's quite a complex problem from what I have gathered. While there are packages like @crownframework/svelte-error-boundary that can guard from initialization-time errors, which I have blogged about, they sometimes don't work with asynchronous errors or errors triggered in child components. So it would actually be huge to have built-in support for error boundaries.
-
My Evaluation of SvelteKit for Full-Stack Web App Development
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
-
Error Boundaries in Svelte
Thankfully there is a community package available that implements error boundaries! 🤩
svelte-error-boundary
-
My Evaluation of SvelteKit for Full-Stack Web App Development
* 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.
What are some alternatives?
svelte-it-will-scale - Generate a chart showing svelte's overhead
svelte-spa-router - Router for SPAs using Svelte 3
SvelteKit - web development, streamlined
svelte-portal - Svelte component for rendering outside the DOM of parent component
firebase-gcp-examples - 🔥 Firebase app architectures, languages, tools & some GCP things! React w Next.js, Svelte w Sapper, Cloud Functions, Cloud Run.
Svelte - Cybernetically enhanced web apps
konsta - Mobile UI components made with Tailwind CSS
sveltestrap - Bootstrap 4 & 5 components for Svelte
svelte-kit-supertokens - A repository for exemplifying/testing Svelte-Kit usage with SuperTokens
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.