The end of this road is React's Server Side Rendering and Next.js.
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.