Yes, separating html out in jinja2 or whatever is far superior.
1. You can compose HTML using normal code - functions, loops, etc. No separate shitty template language or whatever.
2. You get full support for static typing and IDE code intelligence. That's huge and pretty much unique to TSX.
1. You can compose HTML using normal code - functions, loops, etc. No separate shitty template language or whatever.
2. You get full support for static typing and IDE code intelligence. That's huge and pretty much unique to TSX.