Our great sponsors
-
headlessui
Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Are you referring to how I override the $$on method on components here to forward events? I adapted this from svelte-material-ui here to work around some limitations with Svelte. I'd rather not do this, of course, but my snarky response is that maybe Svelte should finally address this issue itself :) There are a number of long-standing open PRs, issues, and RFCs to address the difficulty of forwarding events in Svelte. Once a solution makes its way into the framework I'll be more than happy to get rid of this.
I think they've been pretty negative in public about that (one example of many). With that said, I'm not sure they were expecting someone to just do a total port for them. My intuition based on everything I've seen is still that they're reluctant to increase the scope of what they officially support and that they're reluctant to maintain code that someone else wrote (though in this case the code is very close to their existing code, so it might not be so bad, but even still).
Are you referring to how I override the $$on method on components here to forward events? I adapted this from svelte-material-ui here to work around some limitations with Svelte. I'd rather not do this, of course, but my snarky response is that maybe Svelte should finally address this issue itself :) There are a number of long-standing open PRs, issues, and RFCs to address the difficulty of forwarding events in Svelte. Once a solution makes its way into the framework I'll be more than happy to get rid of this.
Related posts
- i wanna use svelte but i find UI libraries to be far better in react/vue(MUI,chakra,mantine,ant,etc)...anyway i can use those libraries in svelte?
- Is there anything like Vuetify in the Svelte world?
- Headless UI for SvelteKit?
- Do you use Tailwind CSS (or other CSS frameworks)?
- UI Library compatible with SvelteKit?