[Content]: Component Lifecycle diagram and more details
Chưa có ai nhận issue này.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
📚 Subject area/topic
Component Lifecycle
📋 Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/concepts/components/basics#component-lifecycles
📋 Description of content that is out-of-date or incorrect
The component lifecycle section is fairly short and only gives a high-level understanding of the topic. With Solid's lifecycle being pretty different from other frameworks and an important concept to understand I think there should be more content dedicated to this that goes more in depth.
- Diagram of the component lifecycle
- Include the lifecycle functions onMount, onCleanup
- When elements are created
- Explanation of how solid schedules updates
- Include when the various effects are run (createEffect, createRenderEffect, createComputed)
- When child components are created
- Refs lifecycle (maybe just when they are attached)
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
These are both just an initial attempt, more work would need to be done ideally from someone who understands these details way better than myself
Excalidraw diagram: https://excalidraw.com/#json=HGJ-iskfFERCO7F1AnRKd,G7Yv0q6qtHM2m12EcObpjw
SolidJS Playground: https://playground.solidjs.com/anonymous/0ed6a0ea-c7a8-4a14-a271-bbf1f446df2e
- Ngôn ngữ chính
- MDX
- Star
- 292
- Fork
- 361
- Merge trung bình
- 7 giờ 51 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
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 solidjs/solid-docs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
solidjs/solid-docs#1635 ·
-
[Content]: Cloudflare Workers Đang mởgood first issue solid solidstart
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
solidjs/solid-docs#1522 ·
-
pending review
solidjs/solid-docs#1637 · 1 người được giao ·
-
pending review
solidjs/solid-docs#1636 · 1 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
solidjs/solid-docs#1630 · 1 bình luận ·