Hacker News new | ask | show | jobs
by agumonkey 1106 days ago
Could be fun to see this replacing jinja in old frameworks like django. Although inheritance had a better feel with templates..
2 comments

ReactPy dev here. We're actually contributing to a WIP PEP that would add JS-like tagged template literals to Python. We think this will open up a whole new world of templating and DSL possibilities: https://github.com/jimbaker/tagstr
How much support does the idea have ? I like js tagged templates but I was wondering if it would impact the language too much.

Good luck nonetheless

Is reactpy a fork of IDOM or a rebranding of it?
Django doesn't use Jinja, does it? I thought it did its own thing.
They have their own template engine, but it can be swapped for Jinja2 optionally.
yeah my bad, but django and jinja are similar in nature, it's "fat" html template with inheritance and blocks.