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

"Waiting for roots to load..." message in React dev tools #1479

Closed
joseprio opened this issue May 30, 2019 · 4 comments
Closed

"Waiting for roots to load..." message in React dev tools #1479

joseprio opened this issue May 30, 2019 · 4 comments
Labels

Comments

@joseprio
Copy link
Contributor

Observed Behaviour

Inferno app isn't showing properly in Chrome dev tools React tab, even though it's using using inferno-devtools.

Expected Current Behaviour

The inferno app should show in the Chrome dev tools React tab

Inferno Metadata

Inferno 7.1.12; works in Inferno 5.6.1, but seems to be broken since 6.0.0-rc.0

To reproduce, I created a very simple app using create-inferno-app, and added the Inferno dev tools; here's the modified index.js:

import {initDevTools} from 'inferno-devtools';
import { render } from 'inferno';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';

initDevTools();
render(<App />, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();
@joseprio
Copy link
Contributor Author

React dev tools properly detect it, but never finishes loading, showing a Waiting for roots to load... message

@Havunen
Copy link
Member

Havunen commented May 30, 2019

Its possibly broken by some update to react-devtools browser addon. I think it would be more future proof to build our own browser addon. But for now lets just fix this.

@Havunen
Copy link
Member

Havunen commented May 30, 2019

Fixed 7.1.13

@Havunen Havunen closed this as completed May 30, 2019
@joseprio
Copy link
Contributor Author

@Havunen awesome! Thanks for taking care of this.

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

No branches or pull requests

2 participants