Is there any difference between invalidate from use three vs. the import from r3f? #2098
-
Is it primarily if you have multiple Canvas'? I didn't see any specifics in the r3f docs going over this. Cheers! |
Beta Was this translation helpful? Give feedback.
Answered by
CodyJasonBennett
Feb 28, 2022
Replies: 1 comment 1 reply
-
Yes, this behavior isn't documented very well. useThree will let you invalidate the current canvas whereas the imported invalidate will affect all canvases. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
itsdouges
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this behavior isn't documented very well. useThree will let you invalidate the current canvas whereas the imported invalidate will affect all canvases.