- JSX represents objects
- JSX is an exoression too
The function signature is: createElement(type, props, children)
.
A React element is essentially a JavaScript object containing a type
and props
object.
- React can't render into the body node, but we can choose any node within the body
- Components let you split the UI into independent, reusable pieces, and think about each piece in isolation.