The reason bytecode is useful is because it is more specific than diffing. If you have to diff anyway you’ve lost benefits of bytecode.
-
-
I'm not exactly sure what comparing you're referring to, but if there a conditional in the template you have to execute it.
-
You execute it once when appending and only check if the condition is still valid thereafter.
-
Yep, that's what lit-html does
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.