由于chrome浏览器扩展的工具只能console和sources调试(其实这两个也足够了)
不过很多情况下想看组件结构及其props,state属性
于是我就去官方文档下了devtools,https://reactnative.cn/docs/debugging.html#react-developer-tools
但是卡在下图
临时想到的法子:
然后命令行react-devtools运行就好了
由于chrome浏览器扩展的工具只能console和sources调试(其实这两个也足够了)
不过很多情况下想看组件结构及其props,state属性
于是我就去官方文档下了devtools,https://reactnative.cn/docs/debugging.html#react-developer-tools
但是卡在下图
临时想到的法子:
然后命令行react-devtools运行就好了