They also use named exports for the child components so that you can import everything into a single variable. I don't know how much of a difference that makes with tree shaking, etc.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice! I read about a similar concept on Patterns.dev: patterns.dev/posts/compound-pattern/
They also use named exports for the child components so that you can import everything into a single variable. I don't know how much of a difference that makes with tree shaking, etc.