Skip to content
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

Request: Add Pass Ref to Component for comparison #119

Open
aquaductape opened this issue Oct 19, 2022 · 1 comment
Open

Request: Add Pass Ref to Component for comparison #119

aquaductape opened this issue Oct 19, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@aquaductape
Copy link

aquaductape commented Oct 19, 2022

Request to Add Pass Ref to Component for comparison.

For example in React, it's not enough just using useRef for Dom ref, in your component, you have to use React's forwardRef function to wrap your Component in order to use ref prop to connect dom element.

While in Solid, pretty much the same as Dom ref example, pass ref to reserved Component ref property.

@matschik matschik added the enhancement New feature or request label Oct 21, 2022
@matschik matschik added the good first issue Good for newcomers label Aug 2, 2023
@matschik
Copy link
Owner

Can you provide a common real work example ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants