olado / doT

The fastest + concise javascript template engine for nodejs and browsers. Partials, custom delimiters and more.
Other
5.01k stars 1.02k forks source link

Support vdom output (react or others). #173

Closed DylanPiercey closed 7 years ago

DylanPiercey commented 9 years ago

Instead of compiling into a string creating function it would be awesome if doT could also compile into a react compatible vdom or even just JSX (which would be compiled again).

Currently the only other templating language for react is Jade, it would be nice to see some competition.

Thoughts?

noomorph commented 9 years ago

Did you check this? https://github.com/wix/react-templates

DylanPiercey commented 9 years ago

@noomorph Thanks for the link! Certainly a cool little project.

I am hoping to see the larger template languages compete such as doT and ejs in this area.

epoberezkin commented 7 years ago

@DylanPiercey seems out of scope. Although doT for react could give it some traction maybe :)

DylanPiercey commented 7 years ago

@epoberezkin this was posted a long time ago. I think nowadays the best and simplest solution is to use set-dom or morphdom.