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

```ts import { Worklets } from 'react-native-worklets-core'; import _ from 'lodash'; const dataStr = '{"test-1":"123"}'; const context = Worklets .defaultContext; const res = await context.runAsync(()=>{ 'worklet' return JSON.parse(dataStr); }); const...

The library looks great! I wanted to ask what is the reason you don't recommend to use it as a standalone dependency?

Build error on RN < 0.71 ` > Could not resolve all task dependencies for configuration ':react-native-worklets-core:debugCompileClasspath'. > Could not find com.facebook.react:react-android:. Required by: project :react-native-worklets-core > Could not find...

I get an error while building Android.' React-Native: 0.70.1 Vision-Camera: 3.5.1 Worklets-Core: 0.2.2 I have set the following flag in "gradle.properties". `hermesEnabled=true` This gives me this error: >Could not determine...

To make sure we free any underlying values due to the dreaded hermes GC issue where internally allocated memory is not calcualated when considering garbage collection we need to implement...

Calling an inlined worklet from an existing worklet breaks, presumably because of some mistake in the babel plugin. This code breaks: ```ts const context1 = Worklets.createContext('context1') const context2 = Worklets.createContext('context2')...

Xcode Version 15.3 (15E204a) ![image](https://github.com/margelo/react-native-worklets-core/assets/56606126/de96cb59-1ee1-49b4-bb6c-567603b4c99e) ![image](https://github.com/margelo/react-native-worklets-core/assets/56606126/64638fd7-e70c-4fa1-b7b9-1971c6f6d65a) how I fix the error when I run In Xcode

### Issue Description: Could not resolve all files for configuration ':_internal_prefab_binary'. Cannot resolve external dependency com.google.prefab:cli:2.0.0 because no repositories are defined. Required by: project : ![image](https://github.com/margelo/react-native-worklets-core/assets/87614560/78e53649-4a2e-4290-a9ac-63df7fd70b78) **Hello Team,** Please check...

While using: ```js function RealApp() { const fibonacci = (num: number): number => { 'worklet'; if (num { console.log(`Fibonacci of 50 is ${result}`); }); } ``` I get: ``` In...