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

Push is not a function when using an array from UseSharedValue

Open tomerh2001 opened this issue 10 months ago • 0 comments

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: Image

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?

tomerh2001 avatar Feb 11 '25 12:02 tomerh2001