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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e99e-2c433.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e99e-2c433.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?