Solution : ReactJs Error 'Component' is not defined no-undef.

Solution : ReactJs Error 'Component' is not defined no-undef.  Search for the keywords to learn more about each error. This error occurred during the build time and cannot be dismissed.

When creating a react application the following error comes  "'Component' is not defined no-undef."

Here is my code from ReactJs   src/App.js

import React from 'react';
import logo from './logo.svg';
import './App.css';

class App extends Component {

 render () {
    return (
      <div className="App">
            My First App


when i try to execute the above program of ReactJs  there is a error "'Component' is not defined no-undef."

The solutions is as below....

Click here to read more ....


  1. thanks alot, keep on posting for help :)

  2. It helped me a lot. Thank you very much

  3. Thanks a ton!!
    Saved me a lot of trouble!

  4. Thanks a lot really fixed my bug

  5. it still showing that error

    1. due to case sensitive it pop out that error

  6. hello i do that but give me the same error but i create new file called Navbar in folder called Component

  7. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so render farm

  8. You have shared a nice article here about the Nike Air Jordan Blue . Your article is very informative and nicely describes the causes and natural remedies of Snoring. I am thankful to you for sharing this article here.Nike Air Jordan Blue online in India

  9. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us.render Farm

  10. yea you just have to import Component

  11. I am using stateless widget and I am getting the error

  12. It is truly well-researched content and has excellent wording. I got so engaged in this material that I couldn’t wait to read it. I am impressed with your work and skill visit also GPU Render Farm USA

  13. The portrayal of this article is really heavenly. I think this is a truly helpful and enlightening article for everybody, I value this sort of composition, Grateful to you for sharing an article like this.GPU Render Farm USA


Post a Comment