Skip to content
This repository has been archived by the owner on Jan 28, 2018. It is now read-only.

Update detection to work with React v0.15.0 #7

Closed
kentcdodds opened this issue Nov 13, 2015 · 3 comments
Closed

Update detection to work with React v0.15.0 #7

kentcdodds opened this issue Nov 13, 2015 · 3 comments

Comments

@kentcdodds
Copy link
Owner

Because of this

@mayankchd
Copy link

we can check for both [data-reactid] and [data-reactroot] and if anyone of them is present we can outline the components.

@kentcdodds
Copy link
Owner Author

I think we can use that to detect whether react is on the page, but with v0.15.0 there doesn't appear to be any way to identify an individual component from the DOM. So we wont be able to outline components in v0.15.0 :-(

@mayankchd
Copy link

Yup! But it does outlines the container component . I tried , it's good enough until we find something else.

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

No branches or pull requests

2 participants