Self review: Multiple components - React Basic

Self review: Multiple components - React Basic

  1. True or False: In React, you need to import a component multiple times – as many times as you plan to render it from its parent’s return statement.

    • True

    • False

  2. True or false: You can render more than one child component from the parent component.

    • True

    • False

  3. What is wrong with this code?

     function App() {
         return (
             <BlogCard />
             <BlogCard />
             <BlogCard />
         )
     }
    
    • There is no props object passed to the App component.

    • There is no root element.

    • There is no JSX attribute used when rendering the BlogCard components.