Template partials look good, which is one of the key reasons frameworks like React are as good and popular as they are, because you can reuse small segments of code.
The most obvious value here is for HTMX, which requires a lot of partial templates.
React allows for encapsulation of state in a reusable component, its more than just templating.
They're a neat design. I started using them on my blog the other day as part of trying out Django 6: https://github.com/simonw/simonwillisonblog/blob/faec3532183...
But you could already reuse templates in Django by including them. What am I missing?
indeed the vintage templating was a logical bottleneck
There've been a variety of open source attempts at this idea. Is this official one now the best to use, or are the others still compelling?
Key benefit for reusability and composability in React is IMHO that they don't use templates at all, but everything is a function.