carbon-components-sv
svelte-error-boundary
Our great sponsors
carbon-components-sv | svelte-error-boundary | |
---|---|---|
1 | 3 | |
- | 72 | |
- | - | |
- | 0.0 | |
- | over 2 years ago | |
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.
carbon-components-sv
-
My Evaluation of SvelteKit for Full-Stack Web App Development
That's one of the issues with Svelte. It's a newcomer so the ecosystem is minuscule.
Personally I'm happy using Bulma with Svelte. I find most UI libraries tend to add too much bloat so I'd rather have something that only adds configurable CSS and just add as much JS as I need/want.
I used Vue+Vuetify some years ago. I wasn't very happy with it, but I agree Svelte needs something similar.
There are a couple of projects out there that add Svelte components for Bootstrap, Material, or IBM Carbon you could check.
https://sveltematerialui.com/
https://github.com/bestguy/sveltestrap
https://github.com/carbon-design-system/carbon-components-sv...
There are also a couple of projects about headless (no CSS) components for Svelte although I only seem to be able to find this one (not public yet)
https://svelteui.com/
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! 🤩
What are some alternatives?
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
svelte-error-boundary - Fix error boundary Svelte 3 problem to prevent full app crash :scream:
svelte-it-will-scale - Generate a chart showing svelte's overhead
SvelteKit - web development, streamlined
sveltestrap - Bootstrap 4 & 5 components for Svelte
firebase-gcp-examples - 🔥 Firebase app architectures, languages, tools & some GCP things! React w Next.js, Svelte w Sapper, Cloud Functions, Cloud Run.
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
konsta - Mobile UI components made with Tailwind CSS