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

Compound Component in React #845

Open
Kratika-lilly opened this issue Oct 6, 2020 · 0 comments
Open

Compound Component in React #845

Kratika-lilly opened this issue Oct 6, 2020 · 0 comments

Comments

@Kratika-lilly
Copy link

  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?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant