restaumatic / purescript-specular

A Reflex-Dom inspired UI library for PureScript
MIT License
131 stars 10 forks source link

Fix height computation when subscribing to a dead bind #95

Closed zyla closed 1 year ago

zyla commented 1 year ago

A bind node's height can change during compute. This was not taken into account previously, and an invalid height was used to inform the height of a node subscribed to the bind. This of course violated the height invariant (that a node's height should be greater than all its dependencies), and caused errors in propagation.