Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push is not a function when using an array from UseSharedValue #237

Open
tomerh2001 opened this issue Feb 11, 2025 · 0 comments
Open

Push is not a function when using an array from UseSharedValue #237

tomerh2001 opened this issue Feb 11, 2025 · 0 comments

Comments

@tomerh2001
Copy link

tomerh2001 commented Feb 11, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant