没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
刷新 快速刷新功能! 整合方式 最佳实务 认出 我们需要能够识别您的组件,这意味着组件应以大写字母开头,钩子应从use后以大写字母开头。 这使Babel插件可以有效地识别这些。 请注意,如下所示的组件未命名。 export default ( ) => { return < p> Want to refresh < / p > ; } ; 相反,请执行以下操作: const Refresh = ( ) => { return < p> Want to refresh < / p > ; } ; export default Refresh ; 当您使用HOC时,请确保提升displayName以便我们将其识别为组件。 IE11中的用法 如果要在IE11上使用@prefresh/webpack或@prefresh/next ,则需要转换@prefresh/core和@p
资源推荐
资源详情
资源评论
收起资源包目录
prefresh:热模块重新加载以进行操作 (223个子文件)
.babelrc 128B
index.css 453B
App.css 62B
.editorconfig 330B
.gitignore 2KB
.gitignore 37B
.gitignore 27B
.gitignore 27B
.gitignore 27B
.gitignore 27B
index.html 924B
index.html 294B
index.html 214B
index.html 204B
index.html 199B
index.html 196B
index.html 196B
favicon.ico 3KB
index.test.js 9KB
index.js 6KB
index.js 5KB
index.js 3KB
index.js 3KB
index.js 2KB
Runtime.js 2KB
createTemplate.js 2KB
runtime.js 2KB
index.js 1KB
runtime.js 1KB
webpack.config.js 1KB
next.config.js 1KB
next.config.js 1KB
prefresh.js 1KB
next.config.js 1KB
next.config.js 1KB
constants.js 1KB
index.js 1KB
index.js 1KB
webpack.config.js 1012B
constants.js 1000B
computeKey.js 924B
rollup.config.js 869B
vnode.js 790B
injectEntry.js 734B
utils.js 616B
unmount.js 490B
constants.js 468B
rollup.config.js 426B
catchError.js 414B
debounceRendering.js 367B
App.js 346B
index.js 267B
jest.config.js 256B
index.js 250B
index.js 250B
.babelrc.js 230B
.babelrc.js 226B
vite.config.js 203B
useCounter.js 194B
useCounter.js 194B
useCounter.js 191B
useCounter.js 175B
useCounter.js 163B
useCounter.js 163B
useCounter.js 163B
useCounter.js 163B
useCounter.js 163B
useCounter.js 163B
useCounter.js 163B
vite.config.js 155B
snowpack.config.js 149B
index.js 139B
index.js 139B
vnodesForComponent.js 138B
snowpack.config.js 137B
.babelrc.js 120B
signaturesForType.js 106B
index.js 102B
styles.js 99B
styles.js 99B
styles.js 99B
styles.js 99B
styles.js 99B
styles.js 99B
styles.js 99B
index.js 98B
utils.js 76B
utils.js 76B
utils.js 76B
runtime.js 25B
runtime.js 25B
runtime.js 25B
package.json 2KB
package.json 1KB
package.json 1KB
package.json 1KB
package.json 963B
package.json 912B
package.json 893B
package.json 883B
共 223 条
- 1
- 2
- 3
资源评论
莊謙
- 粉丝: 22
- 资源: 4629
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功