Answer by Ovidiu G for getInitialState() is showing error in console
I think you can find an answer here -> React, ES6 - getInitialState was defined on a plain JavaScript class As a summary: If you use es6 class which extends React.Component you need to define the...
View ArticlegetInitialState() is showing error in console
I am trying to create toggle menu for my react app. I am facing some issue with 'getInitialState()'. It's show error like: Warning: getInitialState was defined on Header, a plain JavaScript class....
View Article