1. Render Props

<List
  items={products}
  renderItem={(product) => <ProductItem product={product} />}
/>
<Listitems={companies}
  renderItem={(company) => <CompanyItem company={company} />}
/>

2. Higher-Order Components (HOC)


3. Compound Components

<Counter>
  <Counter.Label>Sayaç</Counter.Label>
  <Counter.Increase />
  <Counter.Decrease />
  <Counter.Count />
</Counter>