React не работает

Why does it not display elements in the browser, when I start writing code everything works, but somewhere something happens and the code no longer works.

Push the code to Github, so we can analyze it.

I already sent it there.

Component is a class and should not be used as a function (no parentheses in front of it).

You have this in App.js

class App extends Component() {
  // rest of code

Should be:

class App extends Component {
  // rest of code

You should really name your component files the same as the component using a starting uppercase letter Person.js

1 Like

Спасибо все заработало)))

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.