new functional component syntax

This commit is contained in:
CoolElectronics 2024-02-18 14:36:06 -05:00
parent fcc411d842
commit 2dcae6ad11
No known key found for this signature in database
GPG key ID: F63593D168636C50
2 changed files with 20 additions and 9 deletions

4
css.js
View file

@ -20,10 +20,10 @@ function scopify_css(uid, css) {
return cssParsed;
}
function tagcss(strings, values, isblock) {
const uid = `dream-${Array(16)
const uid = `dl${Array(5)
.fill(0)
.map(() => {
return Math.floor(Math.random() * 16).toString(16);
return Math.floor(Math.random() * 36).toString(36);
})
.join("")}`;