react-native-worklets-core
react-native-worklets-core copied to clipboard
Push is not a function when using an array from UseSharedValue
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 returned from useSharedValue doesn't seem to have the push function, as you can see in the command line below.
I am on the latest versions of all of the projects. The example projects works, but when I add my own files and packages it suddenly breaks. What can be the issue here?