3.4 the code react is written declarative wa
How exactly a component builds
now will dive into concrete code in one second in the end
user interfaces concern HTML CSS Javascript and therefore
all its components consist of combining HTML CSS and Javascript when we work with react and that we build components
that’s exactly what we’re doing at the end of the day
we combine HTML CSS Javascript in all its components then we combine
All components together to build any the user interface
react and everything about the components and the construction of is component
we have combined together react that allows you to create its reusable and responsive components and more late it goes
allow you to build
react components composed of HTML and JavaScript and as I mentioned the whole piece of CSS
as you will learn in his courses react uses
something called a declarative approach
to build its components
with reaction you will not say
that a certain HTML element
must be created and inserted at a specific location of the user interface
as you will with Javascript
so you can say that in the end we build
simply our own HTML element
customized and we combine them
to create a user interface
let’s finally get to the code and start building its components.