Transcript

Kent C. Dodds: 0:00 All right, let's bring React in here. For this exercise, I'm going to introduce you to the raw React API. We're going to add React to the page, I add ReactDOM to the page. Here I describe some of the background around using React in the browser, things around what React is and ReactDOM is.

0:17 Go ahead and read through that as you get ready for the actual exercise. Feel free to read through this and take a look at example of how you create React elements and how you add them to the page. Then work through this stuff all along with the emoji.

0:32 With our extra credit, there is a nesting of elements that's fun, and might make you not super love the React createElement API, and maybe you want to have something more than just the raw React createElement API, which we'll learn about soon.

0:47 Go ahead and work through this and we'll see you pretty soon to work through the final version of this. You'll notice that the final version, it looks exactly like the exercise version, so you can't really compare the two, but as long as you're using React to create a React element and adding it to the page with ReactDOM, everything ends up saying, "Hello World!" still, then you should be OK.