Support statically linked addons
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 8/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cmake, react-native, typescript
調査の方向性
This is a design discussion, not a patch: the issue asks how addons can be linked statically rather than loaded via dlopen (see #498). Read the four questions in the body (entry-point collisions, registration, the cmake-rn and ferric build outputs, and Node-API symbol resolution through weak-node-api or a Hermes stub) and the linked #263. Done means a written proposal that answers them, not code.
索引モデルが issue の本文から書いたものです。
説明
Tracks interest in addons statically linked into the app, as opposed to loaded from a dynamic library. Node.js offers this through process._linkedBinding("foo"), for addons registered at startup. Originally raised in #263.
This isn't planned. It needs significant design work, so please add a 👍 or describe your use case if you'd need it.
It doesn't fit dlopen(module, filename) (#498), because there's no library to open. Some of the questions a design would have to answer:
- Entry points: every addon exports the same
napi_register_module_v1symbol, so two addons would collide when linked into one binary. - Registration: how an addon registers itself and under what name, given that
napi_module_registeris deprecated. - Build: what
cmake-rnandferricproduce, and howlinkgets it into the app, since today's prebuilds are dynamic libraries. - Node-API symbols: how a static addon reaches Node-API, with
weak-node-apior a Hermes stub.
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 12
- 平均マージ
- 4時間 35分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/react-native-node-api のほかの issue
-
Android 🤖
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
callstackincubator/react-native-node-api#379 ·
メンテナーはふだん 1 日以内に返信
-
Sanity check of Hermes source directory via environment variable, when building Android projectsオープンAndroid 🤖 good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/react-native-node-api#163 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue gyp-to-cmake
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
callstackincubator/react-native-node-api#161 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement Linking 🔗
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
callstackincubator/react-native-node-api#497 ·
メンテナーはふだん 1 日以内に返信
-
Prebuilt node-api facade for published addons対応中かも @kraenhansen が 21 日前に担当しました。 オープンenhancement Host 🏡 Linking 🔗
callstackincubator/react-native-node-api#496 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/react-native-node-api の issue をすべて見る
似ている issue
-
[UI] Guard webApis against undefined window in SSR environments対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
headroomlabs-ai/headroom#4992 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
paperclipai/paperclip#22575 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#34502 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
nikhilb2/simple_invoicing#935 ·