Hacker News new | ask | show | jobs
by JayStavis 1111 days ago
WebXR is the way to do this, and a reasonable more supported equivalent to react-vr is probably @react-three/xr which where the stack is react --> three.js --> webXR --> WebGL.

https://github.com/pmndrs/react-xr

Apple announced support for WebXR on VisionOS as well.

I think it will be a lot more interesting once webGPU hits too, as it will be closer to native-level GPU programming but portable between both native and web contexts.