298 Views
Next, let's see how the JSX knows what to put into place for the tag. That work is done directly above in the JS, where we define the Parent component: Again we have a render method. This time, the render method returns a simple div with a class, some text content and another component, called Child.
0 comments