-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have mentioned it here purescript-halogen/purescript-halogen#610 (comment)
just like for:
- https://reactjs.org/docs/react-dom.html#hydrate
- https://github.com/snabbdom/snabbdom/blob/master/src/tovnode.ts
The second link is just for reference. It builds VDOM from DOM node, but our hydrate
method should
- take DOM element
- take VDOM element that contains event handlers
- add event handlers to the DOM elements recursively AND throw error if the content of the DOM element is different from the VDOM (for example the text or class property)
Metadata
Metadata
Assignees
Labels
No labels