3 ms·
Also Marko, which was on here yesterday: https://markojs.com/docs/why-is-marko-fast/#compile-time-optimization-of-static-sub-trees https://markojs.com/docs/why-
by svieira 4y ago
Also Marko, which was on here yesterday: https://markojs.com/docs/why-is-marko-fast/#compile-time-optimization-of-static-sub-trees https://markojs.com/docs/why-is-marko-fast/#compile-time-opt...
> Marko will recognize that the template fragment produces the same output every time and it will thus create the virtual DOM node once ... Rendering a static sub-tree has virtually zero cost. In addition, Marko will skip diffing/patching static sub-trees.
> Marko will also optimize static attributes on dynamic elements. [Static] attributes [are] only created once and [are] used for every render. In addition, no diffing/patching will happen for static attributes.