Table of Contents
You can use react-three-fiber
to build universal (native and web) apps via Expo's WebGL package (expo-gl).
💡 Bootstrap:
npx create-react-native-app -t with-react-three-fiber
Be sure to use a physical iOS or Android device for testing because the simulator can have issues running graphics heavy apps.
Manual setup
Edit this page on GitHub
# Install the Expo CLInpm i -g expo-cli# Create a new projectexpo init myappcd myapp# Install packagesyarn add expo-gl expo-three three@latest react-three-fiber@beta# Start the projectyarn start