Fix early drop of eventhandlers (#2126)
* fix early drop of eventhandlers * add a test for stale props that are memorized in place * fix clippy
This commit is contained in:
1 parent
acbf7dfc4f
commit
0662033c84
7 files changed
+95
-15
No files matched your search
@@ -5,7 +5,7 @@ async fn memo_updates() {
|
||||
use dioxus::prelude::*;
|
||||
|
||||
thread_local! {
|
||||
static VEC_SIGNAL: RefCell<Option<Signal<Vec<usize>, SyncStorage>>> = RefCell::new(None);
|
||||
static VEC_SIGNAL: RefCell<Option<Signal<Vec<usize>, SyncStorage>>> = const { RefCell::new(None) };
|
||||
}
|
||||
|
||||
fn app() -> Element {
|
||||
|
||||
Reference in new issue
Block a user