Why isn’t this possible? I’m trying to render the svelte file when something is clicked.
by user 483253293477265409
Why isn’t this possible? I’m trying to render the svelte file when something is clicked.
by user 483253293477265409
I dont think you can render svelte components like that - what you can do is set state for your svelte component to be rendered/updated and then be either rendered or not.
Maybe @herbst🌵 can say more about that
I find that really complex just to add something to the dom. Maybe I’m doing it the hard way but I can’t think of another way tbh
by user 483253293477265409