reactjs - 无法让探查器在 dev 或 prod 上工作
问题描述
我正在运行 react 16.12.0、react-dom 16.12.0 和调度程序 0.19.1。
在生产版本中,当我查看 Profiler 选项卡时,它会显示:
Profiling not supported.
Profiling support requires either a development or production-profiling build of React v16.5+.
Learn more at fb.me/react-profiling.
在开发版本中,当我尝试访问 React DevTools 时会出现此弹出窗口。控制台也不显示 Profiler 选项卡。
解决方案
推荐阅读
- snowflake-cloud-data-platform - 无法通过 JDBC 连接使用 DBeaver 连接到 Snowflake。获取:“sun.security.validator.ValidatorException:未找到受信任的证书。”
- c# - 需要从 Dotnetnuke 7 C# 更改标题链接 href
- python - 通过数字访问二维数组插槽,反之亦然
- java - Talend 工作作为云中的 Web 服务
- c# - 遇到特定标签时如何选择子标签?
- javascript - 为什么当另一个不相关的 HTML 元素即将制作动画时,`svg` rect 会改变其亮度?
- c# - 在 ListView 中显示数据
- react-native - 世博会开始后的依赖警告
- c++ - 如何做类似的事情:“你的号码是”+号码“。” 在 C++ 中?
- arm - ARM-V7-A ADD指令结合LSL