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
typeReproduction=| Case1
| Case2
letapp()=letstate= Store.make Reproduction.Case1
Html.div [
Bind.fragment
state
(fun state ->match state with| Reproduction.Case1 ->
Html.parse "This is case 1"| Reproduction.Case2 ->
Html.div [
Html.text "This is case 2"])
Html.button [
Ev.onClick (fun _ -> Store.set state Reproduction.Case2)
prop.text "Go to case 2"]]
My suspicion is that Html.parse does not create a child but set innerHtml or something like that. I think the access to child in the replaceChild function should be protected.
The text was updated successfully, but these errors were encountered:
My suspicion is that
Html.parse
does not create a child but setinnerHtml
or something like that. I think the access tochild
in thereplaceChild
function should be protected.The text was updated successfully, but these errors were encountered: