React JS检查是否启用了严格模式
有什么办法知道在React中是否启用了严格的模式?
useEffect(() => {
if(strictModeEnabled) {}
})
我没有在文档中找到任何信息。
Is there any way to know whether the strict mode is enabled in React?
useEffect(() => {
if(strictModeEnabled) {}
})
I didn't find any information in the docs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以
通过
阅读更多在这里
You can use this
call it by
Read more here