babel-plugin-react-hiccup:打ic语法代替JSX for Babel React

时间:2021-05-17 00:08:49
【文件属性】:
文件名称:babel-plugin-react-hiccup:打ic语法代替JSX for Babel React
文件大小:1.73MB
文件格式:ZIP
更新时间:2021-05-17 00:08:49
JavaScript babel插件React打- 使用Babel的React组件的打ic语法。 React本地准备。 例子 输入 const element = [ 'h1' , "title" ] const element = [ 'h2#myId.myClass' , "title" ] const element = [ 'h3.foo' , { className : 'bar' } ] ; const nested = [ 'div' , [ 'p.first' , "first paragraph" ] , [ 'p.second' , "second paragraph" ] ] ; const component = [ MyComponent , { open : true , good : "yes" , parent : this . parent } ] ; 和...
【文件预览】:
babel-plugin-react-hiccup-master
----yarn.lock(75KB)
----src()
--------helper.js(1KB)
--------tags.js(1KB)
--------index.js(1KB)
--------hiccup.js(5KB)
----.babelrc(28B)
----rn-demo.png(1.43MB)
----.npmignore(17B)
----example()
--------output.js(2KB)
--------.babelrc(39B)
--------input.js(1KB)
----LICENSE.md(1KB)
----README.md(2KB)
----rn-hiccup-example()
--------metro.config.js(300B)
--------.flowconfig(2KB)
--------.gitattributes(16B)
--------yarn.lock(325KB)
--------.eslintrc.js(74B)
--------babel.config.js(106B)
--------ios()
--------android()
--------App.js(3KB)
--------__tests__()
--------.buckconfig(114B)
--------app.json(53B)
--------.gitignore(813B)
--------.prettierrc.js(120B)
--------index.js(183B)
--------.watchmanconfig(2B)
--------package-lock.json(424KB)
--------package.json(816B)
----.gitignore(18B)
----CHANGELOG.md(28B)
----package-lock.json(104KB)
----package.json(846B)

网友评论