-
Notifications
You must be signed in to change notification settings - Fork 719
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
useTexture(..., onLoad)
callback receives incorrect values
#1969
Comments
useTexture(..., onLoad
callback receives incorrect valuesuseTexture(..., onLoad)
callback receives incorrect values
Just a heads up that I'm experiencing the same issue. Is there anything blocking review of this PR? |
Thank you for contributing! We’re marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward. Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar. Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if there’s no further activity. Thank you for understanding and for being part of the project! |
We’re closing this issue to keep our project manageable and make room for other active work, but we truly appreciate your effort and contribution. If you’d like to continue working on this, please feel free to re-open it or reach out on Discord — our community is always ready to support you. Thanks again for helping us stay organized and for understanding our approach! |
three
version: 0.164.1@react-three/fiber
version: 8.16.6@react-three/drei
version: 9.105.6node
version: v22.2.0npm
(oryarn
) version: 1.22.22Problem description:
The types declare that the callback receives the same type that's returned from the hook itself. However, that's not the case, and it will never receive a record object.
Relevant code:
Suggested solution:
Fix the callback to adhere to the declared type. I will provide a PR for this.
The text was updated successfully, but these errors were encountered: