Skip to content

[Advanced] Why Wrapping/Mirroring a Component not just use ComponentPropsWithoutRef #771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Farley-Chen opened this issue Dec 31, 2024 · 2 comments
Labels
ADVANCED Advanced Cheatsheet wontfix This will not be worked on

Comments

@Farley-Chen
Copy link

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 Farley-Chen added the ADVANCED Advanced Cheatsheet label Dec 31, 2024
@Farley-Chen
Copy link
Author

Here is the link

Copy link

stale bot commented Apr 25, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the wontfix This will not be worked on label Apr 25, 2025
@stale stale bot closed this as completed May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADVANCED Advanced Cheatsheet wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant