martixy
computations created outside a `createRoot` or `render` will never be disposed
TBH I was expecting remarks around passing around the same object and mutating it along the way...
If I didn't need to tunnel the signals from the bottom to the top it would have been much easier I think...
47 replies
computations created outside a `createRoot` or `render` will never be disposed
It took me a while but I think I'm starting to get it.
I get no warnings now, and my code works as expected.
However I would appreciate advice on how the code is structured.
https://playground.solidjs.com/anonymous/ad7bb9a9-ccd8-496a-a680-15c32d5d9330
Mostly, is there anything wrong with how I create the signals and how I pass them around? And if there is, what is a better way to do this? (To make it easier to parse - the call chain is kbHandler -> collectDownloads -> startDownloads -> queueDownload)
47 replies