Optional example: portable inverse-patch regression fixtures
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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ệ
- javascript
- Lĩnh vực
- testing
Hướng nghiên cứu
The proposal links an external adapter and replay example at interaction-check/adapters/javascript/README.md and describes 12 passing steps for Immer 11.2.9. Read that example and the native Immer tests to understand the scenarios and how native tests serve as the reference. The proposal asks for feedback on sharing small reproducers, so first determine whether the project wants this example; no project files or acceptance criteria are named.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Proposal
I built an external adapter and replay example for small, shareable regression traces. Three scenarios exercise immer 11.2.9 produceWithPatches/applyPatches: array removal/inverse replay, Unicode values, no-op identity and structural sharing. All 12 steps pass.
Motivation
A fixed sequence and expected state can make a patch bug report easier to reproduce without writing a new harness. Native tests remain the reference.
Can this be solved in user-land code?
Yes. The adapter retains one patch pair; it is not an undo-stack or patch-rebasing implementation. I maintain the experimental interaction-check runner. The example uses pinned stable packages, stays outside the project and adds no runtime dependency. Feedback on whether this helps share small reproducers is welcome. This is not a request for a new Immer API.
- Ngôn ngữ chính
- JavaScript
- Star
- 29k
- Fork
- 905
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 22
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 immerjs/immer
-
Shrinking an array with `length =` and growing it back loses the patches for the truncated indicesCó thể đã có người làm @RClaudiuM đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Docs: Chinese (zh-CN) website translation is outdated vs English docsCó thể làm lại được @lijiayou0728 đã nhận 91 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
immerjs/immer#1242 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Branding Drafts on Type levelĐang mởquestion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
immerjs/immer#1217 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
[Feature Request] Support for "Splice" patches in arrays for CRDT/Y.js integration (and others)Đang mởproposal
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
immerjs/immer#1202 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của immerjs/immer
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Automattic/node-canvas#2633 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
capricorn86/happy-dom#2594 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Decoding tag 1 (epoch date) with an 8-byte integer throws "Cannot mix BigInt and other types"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
microsoft/monaco-editor#5575 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày