Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Push is not a function when using an array from UseSharedValue

Aperta
#237 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
react-native
Ambito
mobile

Direzione di ricerca

Start by reproducing the issue with react-native-vision-camera, Skia, and useSharedValue using the reported setup. The issue names no source files or tests, so first isolate which added file or package changes the array behavior; done means identifying the incompatibility or documenting a confirmed fix.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C++
Stelle
792
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di margelo/react-native-worklets-core

Tutte le issue di margelo/react-native-worklets-core

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.