misc: add comment for horrible hack
This commit is contained in:
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} `
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user