You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah we could potentially do some kind of workaround for static <td>s (e.g. wrapping them in another element before parsing), but I wonder if it's worth it. It might actually be a perf regression due to creating an extra element just to throw it away. Adding a rule is simpler.
Description
I noticed that the static optimization (#2781) broke the js-framework-benchmark. It throws an error when trying to append elements.
The problem is that the compiled template ends up with this code:
And eventually it tries to parse this html into a fragment using this function:
lwc/packages/@lwc/engine-dom/src/renderer.ts
Lines 107 to 109 in c828bfe
But since the
<td>
is standalone, this function returnsnull
:Minimal repro:
The text was updated successfully, but these errors were encountered: