react-native-worklets-core
react-native-worklets-core copied to clipboard
🧵 A library to run JS functions ("Worklets") on separate Threads
Hi, Thanks so much for this awesome library. For my project I can't upgrade RN to 0.71+ yet given there are so many performance issues reported so far. I was...
Hi, really nice addition splitting this from reanimated into a single package. Are there any plans to support debugging on both "threads"?
Migrates react-native-worklets-core to be a single cross-platform C++ TurboModule ("CxxTurboModule"). > [!WARNING] > From now on, react-native-worklets-core requires the new architecture to be enabled. The benefit of a CxxTurboModule is...
Remove the static singleton pattern from the app. The idea is that we have one default context (one member of `WorkletsApi`), and everything else is instance based so it has...
I'm trying to take the last N elements of a Shared Value array, but calling `.slice` throws an error. Reproducable code: ```tsx const array = useSharedValue([1, 2, 3]); array.value.slice(1); //...
In my project, I use the frameProcessor from the react-native-vision-camera library. I have a code like this: ``` const device = useCameraDevice('front'); const {detectFaces} = useFaceDetector({ classificationMode: 'all', }); const...
unsigned long std::__1::__tree::__erase_unique(void* const&) Version detail :- "react-native-worklets-core": "0.3.0", "react-native": "0.72.3", "react-native-vision-camera": "4.0.0" Firebase Stack-trace :- Crashed: com.facebook.react.ExitAppQueue 0 mobileProject 0x69d058 unsigned long std::__1::__tree::__erase_unique(void* const&) + 403 (operations.h:403) 1 mobileProject...
The code works fine on iOS, however with Android it only works in debug mode, release mode doesn't seem to work, any answers are appreciated, thanks Device: Samsung SM-M325FV OS:...
I am returning a promise from `context.runAsync` function and I am not able to use `.then` property on the returned promise. Upon doing console.log on the promise, I see -...
**Description** RNWC version: 2.0.0-beta.3 When reloading the app rapidly in development mode we run into an assert statement. At this point I am not sure if its an issue on...