Hey, I have a ref and this ref willl be used to update the cam position (.fitToBox): https://paste.gg/p/B33fb0n3/af6e29a68e6d4c7cb9db2e4ef9554997
(the other case with .setLookAt works fine and is not important in this case)
Initially the meshRef is null, but then should update when the mesh is mounted. But it does not update the useEffect.
I tried these three variants: https://paste.gg/p/B33fb0n3/12f2710a75e94c728f8e37fb3947921e
But even if the mesh is then set, it won't trigger "exists x". I also tried useLayoutEffect
How will the useEffect be triggered, when the meshRef exists?
@real breach like mentioned