I feel however that trendy tech is moving closer to the browser.
Previously we had things like CoffeeScript, HAML, Pug, SASS/SCSS.
Tailwind is just plain CSS classes and the code generation step is just an optimisation.
For TS there is a proposal for adding type annotations to Javascript. Dunno how far it is, though.
JSX is the odd one out but still closer to HTML than things like HAML, which also had embedded logic but looked nothing like HTML.