-
Beta Was this translation helpful? Give feedback.
Answered by
mwmwmw
Apr 18, 2022
Replies: 1 comment
-
You will get this error if you attempt to use R3F components outside of the Check to make sure your components are in the right place. // ✅ good
<Canvas>
<primitive object={myObj} />
</Canvas>
// ❌bad
<Canvas>
/* etc ... */
</Canvas>
<primitive object={myObj} />
// ❌bad
<Canvas>
<Html>
<primitive />
</Html>
</Canvas> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Achi00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will get this error if you attempt to use R3F components outside of the
<Canvas />
or inside an<Html />
componentCheck to make sure your components are in the right place.