Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Compound Component in React  #845

@Kratika-lilly

Description

@Kratika-lilly
  1. Why do we need compound components in React?
  2. To me it seems little complex and not the first thought that will come to mind when you start dividing your project into
    components. How do you decide whether to go with this approach?
  3. What is the disadvantage or performance issue if I got with simpler or common approach having dom nodes and sending them props?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions