File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ Useful for pre-mount setup.
46
46
- <HM >** ` onDidMount ` ** </HM >(only in ** flutter_reactter** ): Called immediately after the dependency is mounted.
47
47
Ideal for post-mount initialization.
48
48
- <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.
50
50
Use this to react to state changes before they take effect.
51
51
- <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.
53
53
Use this to react to state changes after they take effect.
54
54
- <HM >** ` onWillUnmount ` ** </HM >(only in ** flutter_reactter** ): Called just before the dependency is unmounted.
55
55
Useful for cleanup tasks.
@@ -58,10 +58,10 @@ Ideal for final cleanup or resource release.
58
58
59
59
## Example
60
60
61
- Here's an example of a simple RtDependencyLifecycle implementation:
61
+ Here's an example of a simple < HT > ` RtDependencyLifecycle ` </ HT > implementation:
62
62
63
63
<CodeTabs >
64
- <ZappButton path = " examples/" />
64
+ <ZappButton path = " examples/rt_dependency_lifecycle " />
65
65
66
66
<Tabs >
67
67
<TabItem >
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ and use its methods to observe the lifecycle events. e.g:
89
89
<TipLifecycleExample />
90
90
91
91
<CodeTabs >
92
- <ZappButton path = " examples/" />
92
+ <ZappButton path = " examples/rt_dependency_lifecycle " />
93
93
94
94
<Tabs >
95
95
<TabItem >
You can’t perform that action at this time.
0 commit comments