Replies: 1 comment 1 reply
-
You are in a reactive scope when the cursor was created in the An example of an implementation that causes a memory leak is when call the Besides scope checking you have to do you cleanup of the cursors manually on some libraries (Preact for example). I also improved the docs on this (see https://signaldb.js.org/reactivity/other/#ondispose-callback-void-dependency-dependency or the specific adapter pages). Just let me know if something is still unclear 🙂 |
Beta Was this translation helpful? Give feedback.
-
I'm still unclear on what reactivity scope is (there's not a lot to find from googling it either). Perhaps someone could provide an example of an implementation that causes a memory leak BECAUSE we don't have that capability (say with the preact adapter?).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions