Support statically linked addons
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cmake, react-native, typescript
- Área
- build-system, infrastructure
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 206
- Forks
- 12
- Merge medio
- 4 h 35 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstackincubator/react-native-node-api
-
Android 🤖
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
callstackincubator/react-native-node-api#379 ·
Los mantenedores suelen responder en 1 día
-
Sanity check of Hermes source directory via environment variable, when building Android projectsAbiertoAndroid 🤖 good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
callstackincubator/react-native-node-api#163 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue gyp-to-cmake
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstackincubator/react-native-node-api#161 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
enhancement Linking 🔗
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
callstackincubator/react-native-node-api#497 ·
Los mantenedores suelen responder en 1 día
-
Prebuilt node-api facade for published addonsPosiblemente ocupada @kraenhansen la tomó hace 21 días. Abiertoenhancement Host 🏡 Linking 🔗
callstackincubator/react-native-node-api#496 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstackincubator/react-native-node-api
Issues similares
-
[UI] Guard webApis against undefined window in SSR environmentsPosiblemente ocupada @madhavzanwar la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
headroomlabs-ai/headroom#4992 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
paperclipai/paperclip#22575 ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
lingdojo/kana-dojo#34502 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug frontend good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
nikhilb2/simple_invoicing#935 ·