Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React devtool not work with rax. #1273

Closed
wuyasong opened this issue Aug 19, 2019 · 11 comments
Closed

React devtool not work with rax. #1273

wuyasong opened this issue Aug 19, 2019 · 11 comments
Assignees
Labels

Comments

@wuyasong
Copy link

开启react devtool后,map元素会报错Cannot read property '_topLevelWrapper' of undefined

@walton007
Copy link

这个问题有进展吗?

@andycall
Copy link
Collaborator

andycall commented Sep 12, 2019 via email

@wssgcg1213
Copy link
Collaborator

related to #1339

@wssgcg1213 wssgcg1213 added the Bug label Oct 3, 2019
@SimplyY
Copy link

SimplyY commented Oct 12, 2019

@andycall 还是在报错,尽快修复哈

@evilbs
Copy link
Collaborator

evilbs commented Oct 28, 2019

@SimplyY 我看下。

@evilbs
Copy link
Collaborator

evilbs commented Oct 31, 2019

react devtoo

本说排查一下,但发现 devtools 加载不了。是有版本要求吗?

@wssgcg1213 wssgcg1213 changed the title 开启react devtool后,map元素会报错Cannot read property '_topLevelWrapper' of undefined React devtool not work with rax. Nov 14, 2019
@lwdgit
Copy link

lwdgit commented Nov 26, 2019

image
rax@0.6.5

@andycall
Copy link
Collaborator

最近终于有时间看一把了,发现目前Rax 没办法和最新的React Devtools兼容(兼容Fiber估计是不可能的事情了),所以我们fork了一份老版本的react devtools,稍微修改了一些内容就可以工作了。

目前正在上架的路上,应该过几天就能在商店安装使用了。

image

插件仓库地址:https://github.com/raxjs/rax-devtools

@andycall
Copy link
Collaborator

目前使用rax-view,rax-text等官方组件的话,组件名字无法正常显示,都是unknown,
image

需要等待这个PR修复了才能生效:raxjs/rax-components#31

@andycall
Copy link
Collaborator

andycall commented Nov 28, 2019

@xiaodun
Copy link

xiaodun commented Sep 14, 2020

安装插件没什么用...
这里换成360浏览器就可已了(chrome套壳)
可能是版本问题,也可能是因为没React devtool插件,这里仅仅提供一个思路哈。

360 急速浏览器 "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36"

报错的chrome浏览器
"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Mobile Safari/537.36"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants