Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs react项目上的mobx开发工具_Reactjs_Mobx React - Fatal编程技术网

Reactjs react项目上的mobx开发工具

Reactjs react项目上的mobx开发工具,reactjs,mobx-react,Reactjs,Mobx React,我有一个react项目,想使用mobx devtools 我已经安装了独立应用程序 npm install --global mobx-devtools 现在,独立应用程序说 Add <script src="//localhost:8098"></script> or <script src="//192.168.1.2:8098"></script> to the top of the page

我有一个react项目,想使用mobx devtools

我已经安装了独立应用程序

npm install --global mobx-devtools
现在,独立应用程序说

Add 
<script src="//localhost:8098"></script>

or 
<script src="//192.168.1.2:8098"></script>
to the top of the page you want to debug, 
before importing MobX and related libs.
添加
或
在要调试的页面顶部,
在导入MobX和相关LIB之前。
如何在react上执行此操作

在旧版本的mobx devtools上,我要添加

<DevTools />

看看这些行动

如何在新版本上实现这一点