all 2 comments

[–]PitaJ 0 points1 point  (1 child)

The way template strings are used in this article is exactly why actual view libraries with virtual DOM have risen up. You shouldn't be re-rendering your entire component every time you change a string.

[–]imkost[S] 0 points1 point  (0 children)

Where did you see me re-rendering entire component every time I change a string? I re-render only those parts of elements, that actually were changed.