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

Improve component appearance and disappearance events

Đang mở
#559 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@kevin-lyn đang làm issue này rồi.

Từ ngày 14/4/2019.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement

Appearance/disappearance events can be inconsistent and unreliable, likely due to the fact they are typically driven by the underlying UICollectionView. We should investigate better alternatives that satisfy the following properties:

  1. Components that are added while a tree is onscreen should receive a -[CKComponentController componentTreeWillAppear] event
  2. Components that are removed while a tree is onscreen should receive a -[CKComponentController componentTreeDidDisappear] event
  3. There should be a guaranteed balance between both events; a-[CKComponentController componentTreeWillAppear] event should be followed by at most one -[CKComponentController componentTreeDidDisappear] event
Ngôn ngữ chính
Objective-C++
Star
5.7k
Fork
573
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

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 facebook/componentkit

Tất cả issue của facebook/componentkit

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.