Code
<script>
let x = "foo";
let y = 123;
//some js code
return {
<h1>HOW THE HELL</h1>
<h2>IT MAKES SENSE</h2>
<h3>TO FFFFFFFUUUUU- return HTML inside return{} block of javascript?!?!?</h3>
<h4>Thanks for coming to my TED talk</h4>
}
</script>
indeed
vue better.
But still the peak development was MVC frameworks, normal templating like erubis, separating logic from views from theming (css) from client side logic (js).
and jquery + bootstrap is peak human engineering and we should all return to that