|
|
@ -24,6 +24,8 @@ export const attachChildren = initialiseOpts => (htmlElement, options) => { |
|
|
childNode.destroy() |
|
|
childNode.destroy() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!htmlElement) return |
|
|
|
|
|
|
|
|
if (hydrate) { |
|
|
if (hydrate) { |
|
|
while (htmlElement.firstChild) { |
|
|
while (htmlElement.firstChild) { |
|
|
htmlElement.removeChild(htmlElement.firstChild) |
|
|
htmlElement.removeChild(htmlElement.firstChild) |
|
|
|