first of all my english is not the best so i hope u will understand the question.
i am new and i need to figure out how threejs.org works. i started to type down a Box in codesandbox.io but i cant see the box and dont know how to design so… it doesnt visualize while im coding. im working similiar on a youtube video but i dont know the rules here if i have the premission to share a link like youtube.
do you guys know what i have to write or to do in codesandbox.io to visualize the box while i code it ? i refreshed the site many times and tried to figure out the reactDom. / creatRoot “thing” but couldnt find a way.
Thanks in advance. and sry that i havent correct the misspeling
this uses an ancient threejs, r77, i believe that one didn’t even have modules. i would update it. fiber doesn’t depend on a specific version and you can pick the one you want, but going 6 years back, that it compiles at all is a wonder.
a box in react + three is no more than this:
<mesh>
<boxGeometry />
</mesh>
edit: just clicked “update” in your sandbox and it worked, i see a box now