T
T
TimLee2015-03-18 17:12:37
HTML
TimLee, 2015-03-18 17:12:37

Jade or Handlebars?

There is a need to use includes in html and a little modularity for layout.
What is better to pay attention to Jade or Handlebars? Or something different?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Khokhlov, 2015-03-18
@TimLee

These are different things for different tasks
. Handlebars is a js template engine for rendering on the client. For example, json came from the server - magic - a product tile was rendered.
Jade is a preprocessor for html.
I type in jade, it's wildly convenient and fast. Inclusions, cycles, mixins...
At the same time, for further pulling the layout on the engine, I give the compiled html

L
Lenar Fattakhov, 2015-03-18
@fr_end

Try everything, there is no objectively best template engine, otherwise there would be no alternatives. Although I recommend jade or slim.

E
Egor Mikheev, 2018-01-05
@ogregor

It's probably not relevant anymore, is it? jsx?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question