[Content]: Component Lifecycle diagram and more details
まだ誰も着手していません。
評価
この issue はまだ評価されていません。
説明
📚 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
- 主要言語
- MDX
- スター
- 292
- フォーク
- 361
- 平均マージ
- 7時間 51分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
solidjs/solid-docs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
solidjs/solid-docs#1635 ·
-
good first issue solid solidstart
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
solidjs/solid-docs#1522 ·
-
pending review
solidjs/solid-docs#1637 · 担当者 1 名 ·
-
help wanted
solidjs/solid-docs#1636 · コメント 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
solidjs/solid-docs#1630 · コメント 1 件 ·