This approach only really has one major benefit over string-based templating, namely, it lets you re-use code across server and client side DOM logic.
This approach only really has one major benefit over string-based templating, namely, it lets you re-use code across server and client side DOM logic.