Closed
Description
When I render a simple component like this:
Test.svelte:
<script>
import { onMount } from "svelte";
onMount(() => console.log("Mounted"));
</script>
<span>Hello World</span>
and render it through render(Test);
It never prints "Mounted" to the console. Why is this, and how can I test onMount
?
Metadata
Metadata
Assignees
Labels
No labels