You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks a lot for the report! Turns out that this is essentially the same issue as #59.
It occurs to me that version 0.3 has a fundamental problem with garbage collection of elements when using a custom HTML file. The problem is that I want to represent all DOM elements on the server side in order to use the Haskell runtime to keep track of garbage. However, the server currently only keeps track of DOM elements that it has created itself, and ignores all those in a custom HTML file.
The only workaround I can think of right now is to create the HTML DOM via the UI.div combinators etc. Sorry about that!
getElementsByClassName
is giving me problems. When calling it, I get the following error:To reproduce:
add to
<body>
in wwwroot/chat.html:replace in
setup
src/Chat.hs:by
The text was updated successfully, but these errors were encountered: