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

[Feature Request] Bug: shows only one of two apps #97

Open
merlinstardust opened this issue Oct 17, 2017 · 4 comments
Open

[Feature Request] Bug: shows only one of two apps #97

merlinstardust opened this issue Oct 17, 2017 · 4 comments

Comments

@merlinstardust
Copy link

I have two React apps running on my staging site: the main one, and one for admin stuff.

Only the admin app shows up which means I can't see the hierarchy of my actual app.

The React Dev Tools shows the following

<AdminApp>...</AdminApp>
<MainApp>...</MainApp>
<ModalPortal>...</ModalPortal>

But React-Sight only shows a single dot for the AdminApp and doesn't show the MainApp or ModalPortal

@mandeldl
Copy link

Same. Not sure if this would count as a bug or more of a feature request to have React-Sight handle multiple React apps on the same page.

@davidcsally
Copy link
Member

This is a bug, currently React Sight is only grabbing the first 'mount node'. We should probably have a menu that lets you select from all the mount nodes

@davidcsally
Copy link
Member

Actually, this is a feature until I can dedicate more time. React Sight will only show the first React mount node it finds ¯_(ツ)_/¯

I'll make a note to make it a new feature -> I would really like to add this

@davidcsally davidcsally changed the title Bug: shows only one of two apps [Feature Request] Bug: shows only one of two apps Jan 5, 2018
@denisraslov
Copy link

Same for me. It would be a really useful feature!

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

No branches or pull requests

4 participants