3 ms·
I have just recently been looking into this. What would you normally reach for when doing templating?
by gexla 2y ago
I have just recently been looking into this. What would you normally reach for when doing templating?
- scrollaway 2y agoHTML-based templating is toxic to a codebase, especially django templating. It is untyped, impossible to compile and trust, and it's horrible to maintain. Use React and JSX (TSX, to be more specific). NextJS does good quality SSR, use that if you want an app that is also usable without JS. Anybody not in that ecosystem /right now/ is going to be lagging behind by so much in velocity and capability, and will get eaten by competition.
- 1propionyl 2y agoThis simply isn't true. I see the velocity, but high magnitude doesn't mean that you're going the right direction.
- drcongo 2y agoLike jumping off a building and bragging about how fast you're going.
- globular-toast 2y agoI agree that HTML templating is toxic. But there are other ways, like htpy or htmy etc. Basically server side HTML rendering. This is what makes me interested in focused frameworks like this.