feat: more suspended nodes!
This commit is contained in:
1 parent
c52af221f7
commit
de9f61bcf4
20 files changed
+644
-148
No files matched your search
+1
-1
@@ -108,7 +108,7 @@
|
||||
//! fn my_hook<'a>(cx: &impl Scoped<'a>) -> &'a String {
|
||||
//! cx.use_hook(
|
||||
//! // Initializer stores a value
|
||||
//! || String::new("stored_data"),
|
||||
//! |hook_idx| String::new("stored_data"),
|
||||
//!
|
||||
//! // Runner returns the hook value every time the component is rendered
|
||||
//! |hook| &*hook,
|
||||
|
||||
Reference in new issue
Block a user