You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependency tracking is topological, meaning that dependencies must be accessed before the tracking scope returns.
create_effect(move || {// blah blah...
wasm_bindgen_futures::spawn_local(asyncmove{// This scope is not tracked because spawn_local runs on the next microtask tick (in other words, some time later).};// Everything that is accessed until here is tracked. Once this closure returns, nothing is tracked.});
This means that accessing signals or other dependencies inside something like wasm_bindgen_futures::spawn_local will not track the dependencies and might not be what the author intended.
This should be clarified in the documentation about "Reactivity"
The text was updated successfully, but these errors were encountered:
Dependency tracking is topological, meaning that dependencies must be accessed before the tracking scope returns.
This means that accessing signals or other dependencies inside something like
wasm_bindgen_futures::spawn_local
will not track the dependencies and might not be what the author intended.This should be clarified in the documentation about "Reactivity"
The text was updated successfully, but these errors were encountered: