D
D
denisenki2020-02-26 07:59:09
JavaScript
denisenki, 2020-02-26 07:59:09

Rendering tag content in React?

why didn't the footer component render?
5e55fafaef7bb267936766.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
i1yas, 2020-02-26
@denisenki

There is a convention in React that small letter tags are treated as html tags, and capital letter tags are treated as components.
Name the component Footer

A
Alexander Ataakgayev, 2020-02-26
@badJaguar

She rendered. You yourself show in the chrome dev tools that the tag is present. Perhaps you need to apply styles to see everything on the monitor. Everything renders normally.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question