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

[Feature Request] allow passing of custom ref to component #49

Open
pr1ntr opened this issue Sep 14, 2020 · 1 comment
Open

[Feature Request] allow passing of custom ref to component #49

pr1ntr opened this issue Sep 14, 2020 · 1 comment

Comments

@pr1ntr
Copy link

pr1ntr commented Sep 14, 2020

I am wondering if it could be possible to pass your one ref to the component. This would be useful if you need to access the video tag ref outside the render props fn. For my use case I need to bind hls.js to the video element.

@zzarcon
Copy link
Owner

zzarcon commented Oct 14, 2020

Hi @pr1ntr ! Is React.forwardRef what you will be interested on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants