Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add an `@effect/atom-svelte` package.

Đang mở
#6,486 2 bình luận 10 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/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ệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by comparing the existing @effect/atom-react, @effect/atom-solid, and @effect/atom-vue packages to understand their public APIs and structure. Then read Svelte's createSubscriber documentation and consider the Context API mentioned in the issue. Done means a first-party @effect/atom-svelte package with behavior analogous to the existing integrations.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
What is the problem this feature would solve?

Currently there are @effect/atom-react, @effect/atom-solid, and @effect/atom-vue packages, but no equivalent for Svelte.

What is the feature you are proposing to solve the problem?

A new @effect/atom-svelte package which is analogous to the @effect/atom-react, @effect/atom-solid, and @effect/atom-vue packages.

The easiest implementation would be to use the createSubscriber function from svelte/reactivity, which was introduced in Svelte v5.7.0. This bypasses having to use Svelte 5's runes feature and appears to be intended for exactly this kind of integration. This would not require a .svelte.ts file, and could be implemented as plain TypeScript.

There may also be opportunities to integrate with Svelte's Context feature. Perhaps the createContext function?

What alternatives have you considered?

This would not be difficult to implement as a third party package, but obviously it would be preferable to have a first-party @effect/atom-svelte package.

Note: I previously opened a PR for an @effect/atom-svelte package in the Effect-TS/effect-smol repository before it way merged into this one.

Ngôn ngữ chính
TypeScript
Star
16.7k
Fork
808
Merge trung bình
10 giờ 17 phút
Pull request đã merge (30 ngày)
850

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Effect-TS/effect

Tất cả issue của Effect-TS/effect

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.