Is Babel Plugin Setup Necessary for Latest React Native Versions?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, react-native
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C++
- スター
- 791
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
margelo/react-native-worklets-core のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
margelo/react-native-worklets-core#271 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
margelo/react-native-worklets-core#269 · リアクション 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
margelo/react-native-worklets-core#268 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
margelo/react-native-worklets-core#267 · コメント 1 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
margelo/react-native-worklets-core#266 · コメント 1 件 · リアクション 2 件 ·
margelo/react-native-worklets-core の issue をすべて見る
似ている issue
-
bug build
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW オープンfuzz
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/ClickHouse#122114 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
module/agent platform/macos type/bug/regression
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement PyCDE
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100