svonix
svonix copied to clipboard
Svelte component renders then immediately disappears
When rendering a svelte component it renders and then disappears.
This is some weird svelte behaviour you need to consider that svelte "renders" or passes the code "twice" hence the first time, then the second time.
It is likely that you're rendering in a LiveView, so you should set up some LV hooks in order to re-render Svelte component as well
Could be Are you running in a production server with your package and svelte ?
søn. 19. mar. 2023 kl. 11:34 skrev Roman @.***>:
It is likely that you're rendering in a LiveView, so you should set up some LV hooks in order to re-render Svelte component as well
— Reply to this email directly, view it on GitHub https://github.com/nikokozak/svonix/issues/1#issuecomment-1475198167, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK7CTA6E6ADXIWLY7SET2DW43OMHANCNFSM5UF3SQIA . You are receiving this because you commented.Message ID: @.***>