angus-c / angus-c/es6-react-mixins

Warning: xy(...): React component classes must extend React.Component.

Aperta
#9 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
150
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

We are using 0.2.1 of es6-react-mixins with react 0.14.7. One of our components uses two mixins, and works fine. However, our console log is flooded with warnings a la:
`Warning: xyComponent(...): React component classes must extend React.Component.`
Since the component is used in a ``, the warnings amount to thousands of lines. Any chance this warning gets silenced? It is triggered here: https://github.com/facebook/react/blob/v0.14.7/src/renderers/shared/reconciler/ReactCompositeComponent.js#L178

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.