1×
Become a member
to unlock all features

Create egghead account to access 1,000+ tutorials and resources from expert developers.

Create account
Autoplay

    Replace React createElement Function Call with JSX

    reactReact

    In this lesson, we'll learn what JSX is and how it can replace calls to React's createElement API. We will go over how you can interop regular Javascript right in the JSX with curly brackets. We will learn how to pass props to JSX and how to override and props that get passed in. In addition to the noted className difference, there are a number of other differences with attributes in JSX than those in HTML.