File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
4747Ideal 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.
5050Use 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.
5353Use 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.
5555Useful 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 >
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:
8989<TipLifecycleExample />
9090
9191<CodeTabs >
92- <ZappButton path = " examples/" />
92+ <ZappButton path = " examples/rt_dependency_lifecycle " />
9393
9494 <Tabs >
9595 <TabItem >
You can’t perform that action at this time.
0 commit comments