没有合适的资源?快使用搜索试试~ 我知道了~
web-component-to-react:为自定义元素创建通用且可水化的React包装
共61个文件
js:23个
jsx:16个
json:4个
需积分: 14 0 下载量 189 浏览量
2021-05-13
12:58:46
上传
评论
收藏 132KB ZIP 举报
温馨提示
网络组件React 为自定义元素/ Web组件创建通用且可水化的React包装 安装 npm install web-component-to-react 例子 import React from 'react' ; import toReact from 'web-component-to-react' ; const MyWebComponent = toReact ( 'my-web-component' ) ; export default function SomeComp ( { children , eventHandler } ) { return ( < MyWebComponent xss=removed> < span xss=removed> { children } < / span
资源推荐
资源详情
资源评论
收起资源包目录
web-component-to-react-master.zip (61个子文件)
web-component-to-react-master
.eslintrc 131B
browser.js 43B
.babelrc.js 94B
package.json 2KB
readme.md 7KB
cypress
.eslintrc 128B
plugins
index.js 635B
support
index.js 671B
commands.js 841B
integration
counter-with-wc-buttons.spec.js 435B
counter-changing-prop-buttons.spec.js 636B
counter-changing-buttons.spec.js 631B
counter-with-radio-button.spec.js 566B
react-counter-with-wrapper.spec.js 444B
stateful-wc.spec.js 251B
react-counter.spec.js 405B
fixtures
example.json 154B
.prettierrc 110B
.prettierignore 13B
server.js 40B
stencil.config.js 184B
LICENSE 1KB
package-lock.json 487KB
src
node
index.js 223B
withPortal.jsx 552B
asCustomElement.jsx 1KB
browser
index.js 223B
withPortal.jsx 2KB
namedForwardRef.jsx 352B
asCustomElement.jsx 3KB
common
filterMapProps.js 286B
defaultToAttributeName.js 263B
toReact.js 290B
defaultToEventHandlerName.js 255B
lcFirst.js 103B
constants.js 98B
.npmignore 77B
.gitignore 136B
.circleci
config.yml 2KB
demo
.eslintrc 130B
server.js 2KB
src
index.html 699B
components
s-button
s-button.tsx 280B
set-to-button
set-to-button.tsx 389B
stateful-div
stateful-div.tsx 263B
w-rapper
w-rapper.tsx 183B
pages
counter-with-radio-button.jsx 1KB
_document.jsx 543B
react-counter.jsx 151B
counter-with-wc-buttons.jsx 456B
index.jsx 268B
counter-changing-buttons.jsx 611B
counter-changing-prop-buttons.jsx 641B
stateful-wc.jsx 454B
react-counter-with-wrapper.jsx 376B
components
withCounterState.jsx 765B
Counter.jsx 623B
cypress.json 3B
.eslintignore 52B
scripts
runCypressCi.sh 123B
.editorconfig 188B
共 61 条
- 1
资源评论
锦宣
- 粉丝: 18
- 资源: 4564
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 驱动代码驱动代码驱动代码驱动代码
- SVID_20240523_141155_1.mp4
- Code for the complete guide to tkinter tutorial
- 关于百货中心供应链管理系统.zip
- SimpleFolderIcon-master 修改Unity的Project下的文件夹图标
- A python Tkinter widget to display tile based maps
- A pure Python library for adding tables to a Tkinter application
- Vector资源文件.zip
- MobaXterm-Installer
- 88-520告白(520气球).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功