We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26d400 commit c027ecdCopy full SHA for c027ecd
lib/tyxml/tyxml_js.ml
@@ -78,6 +78,7 @@ module Xml = struct
78
let n = Js.string n in
79
match att with
80
| Attr a ->
81
+ (* Note that once we have weak pointers working, we'll need to React.S.retain *)
82
let _ : unit React.S.t = React.S.map (function
83
| Some v -> ignore(e##setAttribute(n, v))
84
| None -> ignore(e##removeAttribute(n))) a
@@ -192,6 +193,7 @@ module Util = struct
192
193
194
let update_children (dom : Dom.node Js.t) (nodes : Dom.node Js.t t) =
195
removeChildren dom;
196
197
let _s : unit React.S.t = fold (fun () msg -> merge_msg dom msg) nodes ()
198
in ()
199
end
0 commit comments