Describe the bug
Template tag content is rendered twice. My guess is that the oldDom pointer is wrong somewhere when recursing into <template> tags.
EDIT: Looks like the actual dom is stuck in excessiveDomChildren
To Reproduce
it('should hydrate <template> tags ', () => {
function App() {
return <template><h1>it works</h1></template>
}
scratch.innerHTML = `<template><h1>it works</h1></template>`
render(<App />, scratch);
expect(scratch.innerHTML).to.equal(`<template><h1>it works</h1></template>`)
});
Expected behavior
No duplicate content.
Describe the bug
Template tag content is rendered twice. My guess is that the
oldDompointer is wrong somewhere when recursing into<template>tags.EDIT: Looks like the actual dom is stuck in
excessiveDomChildrenTo Reproduce
Expected behavior
No duplicate content.