purescript-halogen / purescript-halogen-vdom

An extensible virtual-dom library for PureScript.
Apache License 2.0
58 stars 25 forks source link

Sequence unsafe effects with magic-do #14

Closed natefaubion closed 7 years ago

natefaubion commented 7 years ago

This fixes https://github.com/slamdata/purescript-halogen/issues/423. There's an unsafe effect to dereference the parent DOM node, which was firing too soon in the text node case. I've sequenced this using pure, which results in magic-do firing.