We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
useTres().camera.value
Typically, useTres().camera.value holds a camera. But the type includes undefined.
undefined
This leads to extra, otherwise unneeded reactivity and type checking.
No response
R3F defines a dummy camera so that the state always includes a camera.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Typically,
useTres().camera.value
holds a camera. But the type includesundefined
.This leads to extra, otherwise unneeded reactivity and type checking.
Suggested solution
undefined
from the type.Alternative
No response
Additional context
R3F defines a dummy camera so that the state always includes a camera.
Validations
The text was updated successfully, but these errors were encountered: