-
Notifications
You must be signed in to change notification settings - Fork 10
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
Example throws errors in create-react-app typescript template #1
Comments
Hey there, I noticed this too this morning, I'll take a look and push an update ASAP |
Hi @fitzmode! is there any news about this? |
I'm working with React Native 0.63 and use-dynamic-refs 1.0.0 |
This should work, ref={setRef("input") as RefObject} |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
This looks like an incredibly useful little package, but I can't seem to get it working.
I ran
npx create-react-app use-multiple-refs --template typescript
projects and tried the example. Specifically this:And I get these errors:
Are there type annotations I'm missing? I had a look in your source, but couldn't quite figure it out.
The text was updated successfully, but these errors were encountered: