-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Create function component guide #1043
Labels
Comments
It would be worth putting together a guide on how to use |
alexreardon
changed the title
Generating an
Create function component guide
Mar 12, 2019
innerRef
for a functional component with useRef
This would not be needed if we just moved to hooks #871 |
Here is an example I put together: https://codesandbox.io/s/zqwz5n5p9x |
I think I will also add a story example |
Thank you! I was looking for this exact example, works great! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm hoping to get some guidance on how to generate the required
innerRef
prop using a functional component with the hookuseRef
. Thank you in advance.The text was updated successfully, but these errors were encountered: