Anyone familiar with #SolidJS #signals able to help me understand why they don't leak memory? Why don't you need to unsubscribe?
AFAICT, each signal in the graph contains a list of all its reverse dependencies (all signals who depend on it). This feels circular to me and I don't see how the browser could clean up those references.
Is a mark-and-sweep GC strategy able to handle this or am I missing an implicit unsubscribe somewhere?