arche:HTML as JavaScript

时间:2021-02-01 03:07:41
【文件属性】:
文件名称:arche:HTML as JavaScript
文件大小:12KB
文件格式:ZIP
更新时间:2021-02-01 03:07:41
react javascript atom html component 拱门 Arche(/ ˈɑːrki /;古希腊语:ἀρχή)是希腊语单词,主要含义为“开始”,“起源”或“作用源”(ἐξ'ἀρχῆς:从一开始,, rr' ,以及后来的“第一原理”或“元素”。 () HTML作为JavaScript。 const ReactElement = Arche ( React ) // supply the React library const { Div , H1 , P } = ReactElement // some common building blocks are provided on ReactElement // as property functions. const myElement = Div ( [ H1 ( 'I am a heading' ) , P ( 'heyo' ) , P ( 'lorem ipsum' ) , ] ) render ( myElement ) //
//

I am a heading

//

heyo

//

lorem i


【文件预览】:
arche-master
----index.js(8KB)
----test.js(2KB)
----es.js(7KB)
----package.json(673B)
----.github()
--------workflows()
----test.html(2KB)
----LICENSE(1KB)
----.eslintrc.js(10KB)
----.gitignore(25B)
----CHANGELOG.md(97B)
----README.md(4KB)

网友评论