From 1184389119a15bcaecd84a9860a42bc8d433e558 Mon Sep 17 00:00:00 2001 From: Patrick Nelson Date: Tue, 21 Nov 2023 14:22:07 -0800 Subject: [PATCH] Minor: Better linking of Svelte bugs/issues (and how svelte-retag helps overcome them) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c5fcd1..28ddfbf 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,10 @@ DOM _or_ shadow DOM. Automatically forwards all slots and attributes to your Sve Svelte already allows you to compile your components to custom elements. However, it has a couple of flaws: * Svelte 3: You have to use shadow DOM (no light DOM compatibility at all) -* Svelte 4: You cannot use slots in the light DOM (https://github.com/sveltejs/svelte/issues/8963), which means no nesting +* Svelte 4: You cannot use slots in the light DOM (https://github.com/sveltejs/svelte/issues/8963), which also means no + nesting of your web components * No context support (https://github.com/sveltejs/svelte/issues/8987) -* Vite HMR doesn't work with custom elements (see comments of https://github.com/sveltejs/svelte/issues/8681) +* Vite HMR doesn't work with custom elements (see comments of https://github.com/sveltejs/svelte/issues/8681 and issue https://github.com/sveltejs/svelte-hmr/issues/26) ## How do I use it?