WUJINGQUAN
首页
关于
旧博客
老博客
项目列表
GitHub
搜索
首页
关于
旧博客
老博客
项目列表
GitHub
首页
分享
正文
Ant Design FAQ
939
次阅读
没有评论
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.
PHP 实现发送邮件功能
Windows 上搭建OpenVPN
解决 Linux 服务重启导致进程过多的问题
FileZilla Server 最新版本配置
Debian 12 更换镜像源
上一篇
HTTP文件服务器
下一篇
评论(没有评论)
取消
发布评论