WUJINGQUAN
首页
关于
旧博客
老博客
项目列表
GitHub
搜索
首页
关于
旧博客
老博客
项目列表
GitHub
首页
分享
正文
Ant Design FAQ
1,548
次阅读
没有评论
You are calling notice in render which will break in React 18 concurrent mode.
不使用Hooks调用方式,改为调用静态方法方式。
不过官方文档不推荐静态方法调用方式,推荐的是Hooks调用方式。
参考:
“You are calling notice in render” warning when using message via hooks in callback · Issue #39592 · ant-design/ant-design (github.com)
正文完
0
版权声明:
本站原创文章,由
wujingquan
于2024-09-04发表,共计240字。
转载说明:
Unless otherwise specified, all articles are published by cc-4.0 protocol. Please indicate the source of reprint.
监控摄像头、录像机
七牛云数据备份至本地
Mac优秀软件推荐
2026年4月28日之前,提交到App Store Connect的所有新应用和更新应用都是使用iOS 26 SDK构建
Debian 12 更换镜像源
上一篇
HTTP文件服务器
下一篇
评论(没有评论)
取消
发布评论
WUJINGQUAN