Display Output in React with a Component's render Method

Share this video with your friends

Send Tweet

The render method is where the magic happens in your React components to display output to the screen. This lesson explains how to structure your JSX in a React component.

themathmagician
themathmagician
~ 7 years ago

where can I find the example code?

Jean-Denis Vauguet
Jean-Denis Vauguet
~ 7 years ago

As of React 16 one is able to return more than one element: https://pawelgrzybek.com/return-multiple-elements-from-a-component-with-react-16/