remove once, restore use_hook
This commit is contained in:
1 parent
36e9eb1160
commit
01726d6656
9 files changed
+19
-23
No files matched your search
@@ -16,10 +16,10 @@ fn app_drops() {
|
||||
#[test]
|
||||
fn hooks_drop() {
|
||||
fn app() -> Element {
|
||||
once(|| String::from("asd"));
|
||||
once(|| String::from("asd"));
|
||||
once(|| String::from("asd"));
|
||||
once(|| String::from("asd"));
|
||||
use_hook(|| String::from("asd"));
|
||||
use_hook(|| String::from("asd"));
|
||||
use_hook(|| String::from("asd"));
|
||||
use_hook(|| String::from("asd"));
|
||||
|
||||
render! { div {} }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user