3.9 how works react

Perfect now sends you a little thing with react so how it works you’ll see it’s very, very simple as you can see we are currently in the App.js we have the App function that is here so what we will do exactly that is we will write in the DIV a paragraph where we write. React Price Here you are recording normally it was put on the page and if we go directly to our web page We can see who wrote React class. Now keep in mind that in Javascript standard will somehow give you an element on the page by example with the document get element By ID.

As we do here document.get element by ID here we are the root here that also comes in the index.js that is. See document.getElementById Then we can also make a document. 1st and parenthetically you me. We can do that and we can do that. a.create document is equal and then we will define the content of the text That means we’re gonna write para.TextContent when we write para.TextContent is equal and then we will put our course react. But then here we’re going to add. call point Parenthesis. They’re actually that’s what you’d do in javascript standard it follows a mandatory approach for giving you clear instructions step by step and this is what that javascript is the real browser. Of course we’re not gonna keep all this because you see otherwise this is how it works and now we’re gonna build our first component of this expenditure tracking tool.