Skip to content

Commit c664f06

Browse files
committed
fix(website): Update example paths for RtDependencyLifecycle documentation
1 parent 84cd549 commit c664f06

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

website/src/content/docs/api/classes/rt_dependency_lifecycle.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ Useful for pre-mount setup.
4646
- <HM>**`onDidMount`**</HM>(only in **flutter_reactter**): Called immediately after the dependency is mounted.
4747
Ideal for post-mount initialization.
4848
- <HM>**`onWillUpdate`**</HM>: Called before the dependency is updated.
49-
The parameter is the state (RtState) that triggered the update.
49+
The parameter is the state (<HT>`RtState`</HT>) that triggered the update.
5050
Use this to react to state changes before they take effect.
5151
- <HM>**`onDidUpdate`**</HM>: Called after the dependency is updated.
52-
The parameter is the state (RtState) that triggered the update.
52+
The parameter is the state (<HT>`RtState`</HT>) that triggered the update.
5353
Use this to react to state changes after they take effect.
5454
- <HM>**`onWillUnmount`**</HM>(only in **flutter_reactter**): Called just before the dependency is unmounted.
5555
Useful for cleanup tasks.
@@ -58,10 +58,10 @@ Ideal for final cleanup or resource release.
5858

5959
## Example
6060

61-
Here's an example of a simple RtDependencyLifecycle implementation:
61+
Here's an example of a simple <HT>`RtDependencyLifecycle`</HT> implementation:
6262

6363
<CodeTabs>
64-
<ZappButton path="examples/"/>
64+
<ZappButton path="examples/rt_dependency_lifecycle"/>
6565

6666
<Tabs>
6767
<TabItem>

website/src/content/docs/core_concepts/lifecycle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ and use its methods to observe the lifecycle events. e.g:
8989
<TipLifecycleExample />
9090

9191
<CodeTabs>
92-
<ZappButton path="examples/"/>
92+
<ZappButton path="examples/rt_dependency_lifecycle"/>
9393

9494
<Tabs>
9595
<TabItem>

0 commit comments

Comments
 (0)