Releases: seanhenry/react-native-webgpu
Releases · seanhenry/react-native-webgpu
Better testing ✅
Enhancements
- Fixes size issue when loading images from Android in release mode
- Adds
WGPUQueue.onSubmittedWorkDone()
Testing
- Refactors test scripts from Bash to JavaScript
- The example app now fires a ready message back to the test script so screenshots are always taken at the right time
Size improvements 📦
Size improvements
Optimisations were made on the wgpu-native libraries to reduce the final bundle size:
- Dead code is eliminated before linking to reduce unpacked package size from 374MB to 70.5MB
- Compile-time optimisations reduce final binary size by 2.2MB on iOS and 5.45MB on Android*
*These figures were measured by comparing the final bundle size of the Example app built using RN 0.76, before and after the library optimisations. They are per-architecture meaning that the apk was 21.8MB smaller, 5.45MB smaller for each architecture.
React Native support
Version 0.1.2 now supports react native 0.77
First release 🚀
v0.1.1 Adds missing step to README
Libraries for examples
Download the libraries attached to this release to build the examples. For full instructions see here