3 ms·
This looks cool and I will check it out but I'm also quite happy with my tech stack. I started to couple my FastAPI backend with native Jinja2 templates and no
by pietz 2y ago
This looks cool and I will check it out but I'm also quite happy with my tech stack.
I started to couple my FastAPI backend with native Jinja2 templates and noticed that I hate Jinja2 with passion (no disrespect). I tried HTPY which seemed great but this Python abstraction of HTML just felt weird and I found myself converting HTML to HTPY all the time. I even created a GPT for it. Then I found JinjaX and noticed that this hits the nail on the head for me. It's a Jinja2 preprocessor that allows the usage of components instead of the weird extends and macro syntax.
I'm happy to look at FastHTML but I'm not sure what type of benefit I can expect.
- pelme 2y agohtpy recently got a html2htpy command which can convert HTML to htpy code: https://htpy.dev/html2htpy/ https://htpy.dev/html2htpy/