3.7 analyze a project react standard
Before I start this project I just want with you
analyze the project react we have already looked in index.js
We can already see that we have a reaction dom
import react dom how we can bring this
it’s very simple to find it in the package.json
and you have it right here
and with that is all we can bring directly in our project if we open the public and that we
see in the and go into the HTML and go down a little bit we can see that there is root
then for those who don’t know me root know we will say the root is all it contains
and will be generated by the React dom
it is to make the noise of a reacting element in a knot
root dom
to pass both to the react dom.render method
and if we go back to index.js we can find it
the React dom.render that I just spoke to you
with the getElementById as root of all that has in the package directly with the import and that’s what we
will see during the whole course