Skip to content

Commit

Permalink
docs: Update component lifecycle diagram to be correct (#3357)
Browse files Browse the repository at this point in the history
The `onMount` and `onRemove` nodes were the wrong color in the diagram.
  • Loading branch information
spydon authored Oct 28, 2024
1 parent 14b8801 commit a8bcca0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/flame/diagrams/component_life_cycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
A(onLoad):::yellow
B(onGameResize):::lightYellow
C(onMount):::yellow
C(onMount):::lightYellow
D(update)
E(render)
F(onRemove):::yellow
F(onRemove):::lightYellow
%% Flow %%
Expand All @@ -41,6 +41,6 @@
D-->E
E-->D
E-. If removed .->F
F-. If re-parented .->A
F-. If re-parented .->B
```

0 comments on commit a8bcca0

Please sign in to comment.