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
let _ = create_root(move || {let a = create_signal(());create_effect(move || {
a.track();// Track the signal as a dependency of the effect.
a.dispose();// Now dispose of the signal.});// The effect is automatically run when it is created. However, it fails to add the signal to the dependency list since it no longer exists.});
Resulting in this error:
panicked at /home/_/src/sycamore/packages/sycamore-reactive/src/root.rs:298:36:
invalid SlotMapkey used
Expected behavior should just be to completely ignore signals that have been disposed before getting tracked.
Minimal reproducible example:
Resulting in this error:
Expected behavior should just be to completely ignore signals that have been disposed before getting tracked.
Related to #739
The text was updated successfully, but these errors were encountered: