react-native-worklets-core icon indicating copy to clipboard operation
react-native-worklets-core copied to clipboard

🧵 A library to run JS functions ("Worklets") on separate Threads

Results 74 react-native-worklets-core issues
Sort by recently updated
recently updated
newest added

I want to change a js var's value in the worklet function. How can i achieve this? the methods below is right? 1. runOnJS 2. createSharedValue

HI, I am wondering if i could use some other library's api in the js function worklet? For example, i am using react-native-tcp-socket, can i start a server in a...

I have install this library but not work Please check this package.json "dependencies": { "@deliriumproducts/react-native-animated-nav-tab-bar": "^2.0.1", "@react-native-async-storage/async-storage": "^2.1.0", "@react-navigation/elements": "^2.2.5", "@react-navigation/native": "^7.0.14", "@react-navigation/native-stack": "^7.2.0", "axios": "^0.24.0", "react": "18.3.1", "react-native": "0.76.5",...

I’m using `react-native-worklets-core` with `react-native-vision-camera-barcodes-scanner` for barcode scanning. My app uses a frame processor with `useFrameProcessor`, which relies on Worklets to run JavaScript code on a separate thread. According to...

When trying to delete a key from an object in useSharedValue, nothing happens. Is this functionality missing? ```ts const objectTest = useSharedValue({ id: '1', name: 'hi' }); delete objectTest.value['id']; //...

This is an error I encounter when I try to use `react-native-vision-camera` with Skia. After some troubleshooting, the source of the issue seems to be in this line: The array...

Hey there, When attempting to use the following code: ``` const frameProcessor = useFrameProcessor( frame => { 'worklet'; console.log('test'); runAsync(frame, () => { 'worklet'; console.log('test2'); }); }, [], ); ```...

Error: Exception in HostFunction: system/frame-processors-unavailable: Frame Processors are disabled! package.json ` "react-native": "0.76.2", "react-native-vision-camera": "^4.6.3", "react-native-vision-camera-face-detector": "^1.7.2", "react-native-worklets-core": "^1.5.0", `

**Describe the bug:** When installing the library, development build crashes on iOS (Android works fine). **Minimum reproducible example:** I am installing react-native-vision-camera, and aim to use frame processing. Therefore, I...

I have some expensive logic on react native with big arrays and objects, I need to offload it from main thread of react native and I got this good library....