Welcome to part-4 of the series. You can find part-3 here. We will learn about JSX first in the series.
* Write XML like code for elements and components.
* JSX tags have a tag name, attributes and children.
* JSX is not a necessity to write React application.
* JSX makes your react code simpler and elegant.
Component with JSX
We have been creating component in the previous part with JSX and we will again create one more with it.
We are creating a simple functional component Hello, with a div and h1 tag.