Replies: 1 comment
-
please don't put such things up as issues. issues are for bugs only and it makes it extremely stressful for maintainers to sift through help requests. that code is broken as far as im concerned and it's hard to even grasp what this is trying to do. you can't (should not) define components inside components in react. async components (anything that has useLoader) need a suspense boundary. i would suggest you first go through the docs, look into some examples first. loading is a trivial matter in r3f, it should never go overboard like that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, 👋
I'm trying to get environment background in my project. But it's not working. Everything else works just fine. How can I get the environment?
Also, I tried cubeTextureLoader. It's not working either. I need either of them as my background.
If I remove
style={{ background: backgroundStyle }}
the background is blank.Beta Was this translation helpful? Give feedback.
All reactions