Question: React components are composed to create a user interface. How are components composed?

  1. by putting them in the same file
  2. by nesting components
  3. with webpack
  4. with code splitting

Answer: The correct answer of the above question is Option B:by nesting components