misc: add comment for horrible hack

This commit is contained in:
Xyphyn committed 2023-10-10 18:02:03 -07:00
1 parent 5530077473
commit f32ac369e3
1 file changed
+5
@@ -31,6 +31,11 @@
}
$: rendered = render(source)
$: replaceURLs(div, rendered)
/*
Horrendous hack to get @html reactivity working
From server to client, the rendered html won't change for some reason
I have no clue why this fixes it, but it does.
*/
onMount(() => {
rendered = `${rendered} `
})