Install typegpu-confetti in React Native
mainTo use typegpu-confetti in a React Native project, follow these installation steps:
Install
react-native-wgpu: This is a required dependency for GPU rendering. Note that this package is not supported by Expo Go; you must useexpo prebuild.npm install react-native-wgpuInstall
typegpu-confetti:npm install typegpu-confettiInstall
unplugin-typegpu(Optional but Recommended): If you want to pass JavaScript functions marked with the "use gpu" directive (such as customgravityorinitParticlefunctions) to the component, you must include this Babel plugin in your project.npm install unplugin-typegpu
npm install react-native-wgpu
npm install typegpu-confetti
npm install unplugin-typegpu