Open Balajisivakumar92 opened 6 years ago
In your search_bar.js
class SearchBar extends React.component {
change the component to Component
beware of the big letters.
In your search_bar.js you should do this class SearchBar extends React.Component { render() { return ; } }
I am getting error message when I am using class method . error message : TypeError: Super expression must either be null or a function, not undefined
here is my code : search_bar.js
here is my code : index.js
help me to solve this error.