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

Is Babel Plugin Setup Necessary for Latest React Native Versions?

Aperta
#236 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
25/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, react-native

Direzione di ricerca

Start with the documented Babel setup and the example babel.config.js shown in the issue, then compare the React Native 0.73.6 and 0.75.4 configurations. Confirm whether the documentation should explain version-specific behavior or retain the plugin requirement; the issue is done when that guidance is clear and supported by the reported runtime behavior.

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

Descrizione

I’m using react-native-worklets-core with react-native-vision-camera-barcodes-scanner for barcode scanning. My app uses a frame processor with useFrameProcessor, which relies on Worklets to run JavaScript code on a separate thread.

According to the documentation, I should add the react-native-worklets-core/plugin to my babel.config.js:

module.exports = {
  plugins: [
    ["react-native-worklets-core/plugin"],
  ],
};

For me, this setup is essential on React Native 0.73.6. Without it, the app throws a FATAL EXCEPTION at runtime (Android). However, on React Native 0.75.4, the Worklet works perfectly without any issues without the Babel plugin.

Could someone clarify why this is the case? Does React Native 0.75 or its associated Babel preset (@react-native/babel-preset) include built-in support for Worklets, eliminating the need for the react-native-worklets-core/plugin? Or is there another reason this works in newer versions?

Thank you for your time and expertise! I’d greatly appreciate any insights you can provide.

Lingua principale
C++
Stelle
791
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.