Samuel27 Apr 2023@scottspence.dev have you ever seen Svelte rendering both sides of an if/else block??? 2 1 2
Scott Spence27 Apr 2023If the conditions aren’t met then the elements don’t get added to the dom. Guess there’s something causing the render in the logic? When this happens I just add the conditions to the page to render them so I can see what’s going on 1 1
Samuel27 Apr 2023Yeah moving the if/else fixed it, super weird one. Component just wasn’t being destroyed. I wasn’t able to make a minimal reproduction either 1 2
Samuel27 Apr 2023I’m inclined to blame the hacky stuff I used to get nested svelte components in a web component to work :) 1 2
Scott Spence27 Apr 2023There's a svelte:component directive, you use that? https://svelte.dev/tutorial/svelte-componenthttps://svelte.dev/tutorial/svelte-componentsvelte.dev 1 1