Type errors when adding {...bind()} to a component in three.js with r3f. #287
Unanswered
wileyknight
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Hi, what package versions are you using? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Hey, i have a similar problem and have made a CodeSandbox example for it https://codesandbox.io/s/suspicious-babbage-bxf72?file=/src/index.tsx |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am getting linting errors using:
<a.group {...spring} {...bind()}>
I get the following error at 'a.group' :
If I get rid of bind() from the component it works fine but documentation doesn't show that in your git examples or on your sample transform code from the website.
Your website example also shows using an 'a3f' prefix instead of 'a' but I can't find a proper import for that.
Any insight would be nice or I can just use it without a {...bind()}
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions