3 ms·
I don’t think that Jinja is the right way to build HTML heavy anything. Look at JSX for that. However I do find it interesting how this is a constant back and f
by the_mitsuhiko 2y ago
I don’t think that Jinja is the right way to build HTML heavy anything. Look at JSX for that. However I do find it interesting how this is a constant back and forth.
I remember when the template engine that everybody in Python used was kid (precursor to genshi) which was XML based and looked a lot like vue/jsx does today. Back in the day people did not like it at all because designers found it hard to work with.
Now the situation is a bit different but what do I know where we land in 10 years. It feels like a constant cycle ;)
- pietz 2y agoI think JinjaX was inspired by JSX. Obviously, there's a huge delta, but my "HTML heavy" problems are nicely solved with JinjaX