`next/image` compatible component backed by Cloudflare Images
Maintainer thường phản hồi trong vòng 1 ngày
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
- Sôi nổi
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start by locating the Cloudflare Images binding pass-through in the native deploy code, then trace how shared components are packaged for the React, Vue, Svelte, and Solid SDKs. The issue proposes a cross-framework image component and optimizer but does not identify files or tests. Done means the component supports responsive sizing, format negotiation, lazy loading, and layout stability using the Cloudflare binding.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Void has no image component or image optimization endpoint. Pages apps ship full-size originals or hand-build srcset URLs, and there is no supported place to configure allowed widths, formats or remote hosts. Teams moving from Next.js on Vercel lose the next/image behavior they rely on: responsive srcset, AVIF/WebP negotiation, lazy loading, sizing without layout shift, and an optimizer that works without setup.
Cloudflare already provides the backend. The Images binding resizes and transcodes an image stream inside a Worker, and native Cloudflare deploys already pass an images binding declared under cloudflare through to the upload. Nothing in the SDK uses it yet.
Usage
// pages/index.tsx
import { Image } from '@void/react'; // the same component ships in @void/vue, @void/svelte and @void/solid
export default function Home() {
return (
<>
<Image src="/avatars/void.png" alt="Void" width={64} height={64} />
</>
);
}
If this direction is appropriate, I would be happy to help implement the prototype.
- Ngôn ngữ chính
- TypeScript
- Star
- 402
- Fork
- 32
- Merge trung bình
- 13 giờ 14 phút
- Pull request đã merge (30 ngày)
- 73
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 voidzero-dev/void
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
voidzero-dev/void#463 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Deploy after a secret change fails for Workers over ~750 KB: source read-back capped at 1 MiBĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
voidzero-dev/void#459 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
voidzero-dev/void#428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 53/100
voidzero-dev/void#472 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
voidzero-dev/void#471 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của voidzero-dev/void
Issue tương tự
-
backend priority:P3 privacy-fix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: 【优化】对话消息底部增加发送时间展示Đang mởbug desktop v3 windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
esengine/DeepSeek-Reasonix#13697 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:security documentation effort:S priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
app:web meta:ops
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
osu-tournament-rating/otr#1113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100