Support in-app Node-API addons
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, react-native, typescript
Hướng nghiên cứu
Bắt đầu bằng cách xem xét PR-104 và ứng dụng mẫu, sau đó kiểm tra cách gói ứng dụng được quét để tìm các dependency prebuild. Xác định những trường hợp sử dụng Node-API addon nào được hỗ trợ và triển khai ví dụ addon trong mã nguồn của ứng dụng. Được xem là hoàn tất khi ví dụ sử dụng các API và trường hợp sử dụng đó được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We're mainly testing Node-API addons being build and published as separate shared libraries in library packages and it would be good to have explicit support for implementing and publishing Node-API addons as part of the app source-code as well.
This could be a few different things:
- As a shared library built as part of building your app, i.e. a multi-arch prebuild included in your app directory. We do support this (as the app package is scanned when we're scanning dependencies for prebuilds), but we're not actively testing it - which we should.
- An addon built as part of your app source-code, this should technically be possible, but we're lacking the merge of PR-104 adding support for the (soft deprecated)
napi_module_registerfunction, which would be the only way to register such a module / addon (as far as I know at least).
A large part of this effort would be implementing an addon in the example app to show the use of the APIs as well as documenting the use-case.
- Ngôn ngữ chính
- TypeScript
- Star
- 188
- Fork
- 10
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstackincubator/react-native-node-api
-
Android 🤖
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
Sanity check of Hermes source directory via environment variable, when building Android projects Đang mởAndroid 🤖 good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
callstackincubator/react-native-node-api#163 · 1 bình luận ·
-
enhancement good first issue gyp-to-cmake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstackincubator/react-native-node-api#161 · 3 bình luận · 1 reaction ·
-
enhancement Host 🏡
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Automatable good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 15/100
callstackincubator/react-native-node-api#424 · 1 bình luận ·
Tất cả issue của callstackincubator/react-native-node-api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
TanStack/tanstack.com#1293 ·