react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

feat: Re-throw error on JS side instead of just logging on native side

Open mrousavy opened this issue 1 year ago • 1 comments

What

Inspired by Reanimated (thanks @tomekzaw!!), we now also re-throw errors on the JS side using runOnJS (or the Worklets equivalent of it) instead of doing that part natively.

This simplifies the native code a tiny bit, and makes catching errors easier (hopefully).

Changes

Tested on

Related issues

mrousavy avatar Jan 09 '24 18:01 mrousavy

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 11, 2024 4:05pm

vercel[bot] avatar Jan 09 '24 18:01 vercel[bot]