mikesol / purescript-deku

A PureScript web UI framework

Home Page:https://purescript-deku.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSR does not handle multiple text nodes well

mikesol opened this issue · comments

It seems to drop nodes if there are several in the same element.

It looks like one way to handle this in the SSR engine is for the text node to write its ID as a comment and then to do hydration based on the comments. As it's expensive to look through the comments for the entire lifespan of the webapp, we'd want to add a flag for when hydration is done.

Fixed in 0.4.10.