Under what circumstances do you use artTemplate.JS?

under what circumstances do I use artTemplate.JS?

Apr.24,2021

when using the JQ Association official website, art-template, is mainly used to obtain data from the background, need to render to html, string concatenation, which is very troublesome to write in js, so this template engine is used.
if you use a framework like vue or react, you don't need this. After all, they all come with it.


when you use jq to concatenate the html structure
$('.ul'). Html (.)
) based on the content returned from the backend

in fact, now I recommend vue react not to use art-template
because vue is a complete set of data-driven framework, which is different from jq's set of operations dom.
art-template is now used by fewer people, so it is not recommended to use

.
Menu