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

Warning: DebugPanel(...): React component classes must extend React.Component. #100

Closed
billyjanitsch opened this issue Sep 10, 2015 · 3 comments

Comments

@billyjanitsch
Copy link

The latest version of React (v0.14-rc1) throws a warning for devtools components (DebugPanel, LogMonitor, LogMonitorEntry) because they don't extend React.Component.

@tonyalaribe
Copy link

Yeah... I'm equally experiencing this.

Warning: DebugPanel(...): React component classes must extend React.Component.warning @ warning.js:45ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:162ReactPerf.measure.wrapper @ ReactPerf.js:66ReactReconciler.mountComponent @ ReactReconciler.js:37ReactMultiChild.Mixin.mountChildren @ ReactMultiChild.js:241ReactDOMComponent.Mixin._createContentMarkup @ ReactDOMComponent.js:552ReactDOMComponent.Mixin.mountComponent @ ReactDOMComponent.js:446ReactReconciler.mountComponent @ ReactReconciler.js:37ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:217ReactPerf.measure.wrapper @ ReactPerf.js:66ReactReconciler.mountComponent @ ReactReconciler.js:37ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:217ReactPerf.measure.wrapper @ ReactPerf.js:66ReactReconciler.mountComponent @ ReactReconciler.js:37mountComponentIntoNode @ ReactMount.js:266Mixin.perform @ Transaction.js:136batchedMountComponentIntoNode @ ReactMount.js:282Mixin.perform @ Transaction.js:136ReactDefaultBatchingStrategy.batchedUpdates @ ReactDefaultBatchingStrategy.js:62batchedUpdates @ ReactUpdates.js:94ReactMount._renderNewRootComponent @ ReactMount.js:469ReactPerf.measure.wrapper @ ReactPerf.js:66ReactMount._renderSubtreeIntoContainer @ ReactMount.js:538ReactMount.render @ ReactMount.js:558ReactPerf.measure.wrapper @ ReactPerf.js:66(anonymous function) @ client.js:10__webpack_require__ @ bootstrap 31d3e110b4d59f337cf4:571fn @ bootstrap 31d3e110b4d59f337cf4:119(anonymous function) @ app.31d3e110b4d59f337cf4.js?31d3e110b4d59f337cf4:5__webpack_require__ @ bootstrap 31d3e110b4d59f337cf4:571webpackJsonpCallback @ bootstrap 31d3e110b4d59f337cf4:42(anonymous function)

@gaearon
Copy link
Contributor

gaearon commented Sep 12, 2015

Fixed by #103.

@gaearon gaearon closed this as completed Sep 12, 2015
@gaearon
Copy link
Contributor

gaearon commented Sep 12, 2015

Out in 2.1.1.

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

No branches or pull requests

3 participants