Skip to content
Discussion options

You must be logged in to vote

These elements are primitives, just like <div /> and <button /> for the DOM and react-dom.

react-three-fiber is a renderer and it reconciles <mesh /> into new THREE.Mesh(). This is done dynamically -- there's no wrapper or anything suspended in memory for it to do so.

I've written more about how this works here, if you're asking about the JavaScript implementation.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HoraceShmorace
Comment options

Answer selected by HoraceShmorace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1873 on December 01, 2021 15:54.