Update hooks.md
This commit is contained in:
1 parent
a4ab2d9de0
commit
485f6f69f0
1 file changed
-1
@@ -139,7 +139,6 @@ fn Child(cx: Scope, name: String) -> Element {
|
||||
}
|
||||
|
||||
// ✅ Or, use a hashmap with use_ref
|
||||
```rust
|
||||
let ages = use_ref(&cx, || HashMap::new());
|
||||
|
||||
names.iter().map(|name| {
|
||||
|
||||
Reference in new issue
Block a user