Skip to content

Commit

Permalink
dom3: prevent :unserializable HTMLElement transfer to fix warning spam
Browse files Browse the repository at this point in the history
  • Loading branch information
dustingetz committed Aug 23, 2024
1 parent ab4fc2a commit 0f7e95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyperfiddle/electric_dom3.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
(let [mp (e/client (e/mount-point))
elem (e/client (create-element ns tag mp))]
(e/client (e/input (attach! node (e/tag) elem)))
(e/client (e/input (m/reductions mount-items elem mp)))
(e/client (e/input (m/reductions mount-items elem mp)) (e/amb)) ; prevent :unserializable HTMLElement transfer
(binding [node elem] ($ Body)))))

;; DONE what should `element*` return?
Expand Down

0 comments on commit 0f7e95b

Please sign in to comment.