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
renders the three strings while loading, then "one" and "two" disappear.
This only happens when cross-compiling; with jsaddle, the behaviour is as expected.
Additional twist:
When I discovered this in a real world case, I used listWithKey with a Map of maybe 20 elements. In that case, it doesn't render none of the elements, but only one. It is the one that shows up as the last element of the list when printing the Dynamic t (Map ...)) with traceDyn.
Furthermore, this only happens on page load; when navigating to a different route (Obelisk), the entire thing is rendered (In this case, the data is populated by getPostBuild and EventWriter, but apparently that is not necessary for the bug to appear)
The text was updated successfully, but these errors were encountered:
Not quite sure whether this is an obelisk problem instead, but this code:
renders the three strings while loading, then "one" and "two" disappear.
This only happens when cross-compiling; with jsaddle, the behaviour is as expected.
test case project here: https://github.com/tek/reflex-bug-1
Run with jsaddle:
ob run
Run with ghcjs:
Additional twist:
When I discovered this in a real world case, I used
listWithKey
with aMap
of maybe 20 elements. In that case, it doesn't render none of the elements, but only one. It is the one that shows up as the last element of the list when printing theDynamic t (Map ...))
withtraceDyn
.Furthermore, this only happens on page load; when navigating to a different route (Obelisk), the entire thing is rendered (In this case, the data is populated by
getPostBuild
andEventWriter
, but apparently that is not necessary for the bug to appear)The text was updated successfully, but these errors were encountered: