Result of the component's work
The result div will contain what the component's return function returns. In the following example, it will be a div with text:
function App() {
return <div>
text
</div>;
}
Note that we write div without quotes - we just write the tag in JavaScript code! This is the main feature of React. In fact, in React we write not in JavaScript, but in JSX, which we will study in the following lessons.