Composition

You will learn a key principle 'Composition' in this article. It let's you compose bigger react-components using smaller self-contained components.

We will make slow progress towards building a reasonable size component but before that we need to understand and employ some concepts to build smaller components. Let’s markup a classic landing page which will have the following sections:

  • menu
  • products
  • team
  • about

Also, our customer gave us content that he wants to be displayed on the site in the following format:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy