[Advanced] Why `Wrapping/Mirroring a Component` not just use `ComponentPropsWithoutRef` ?
Farley-Chen opened this issue · 2 comments
Farley-Chen commented
What cheatsheet is this about? (if applicable)
Advanced cheatsheet
What's your issue or idea?
I found that Wrapping/Mirroring a Component and Wrapping/Mirroring a HTML Element use different way.
But why not just use ComponentPropsWithoutRef in the same way?
Is there any problem of using ComponentPropsWithoutRef?
Farley-Chen commented
Here is the link