JSX
React.createElement
vsJSX
Benefits of JSX
Behind the Scenes of JSX
Babel
&parcel
role in JSXComponents
Functional Components
Composing Components
- What is
JSX
? - Superpowers of
JSX
. - Role of type
attribute
in script tag? Whatoptions can I use
there? {TitleComponent}
vs{<TitleComponent/>}
vs{<TitleComponent></TitleComponent>}
inJSX
.
-
Create a
Nested header Element
usingReact.createElement
(h1,h2,h3 inside a div with class "title")- Create the
same element using JSX
- Create a
functional component of the same with JSX
Pass attribute
into the tag inJSX
Composition of Component
(Add a component inside another){TitleComponent}
vs{<TitleComponent/>}
vs{<TitleComponent></TitleComponent>}
in JSX.
- Create the
-
Create a
Header Component
from scratch usingFunctional Component
with JSX- Add a
Logo on Left
- Add a
search bar in middle
- Add
User icon on right
- Add
CSS to make it look nice
- Add a