Updated the run macro #31 #30

This commit is contained in:
2025-08-14 15:42:21 +02:00
parent f51182b2b1
commit c460e073a7
+1 -1
View File
@@ -197,8 +197,8 @@ macro_rules! transform {
/// ```rust /// ```rust
/// let count = use_state(0); /// let count = use_state(0);
/// run! { /// run! {
/// ref count // ref means that it will only reference the count (clone)
/// use count // implement count as a dependency, running this again if it updates /// use count // implement count as a dependency, running this again if it updates
/// ref count // ref means that it will only reference the count (clone)
/// { /// {
/// // do something with the count /// // do something with the count
/// } /// }