saeho5w ago

Does preact useSignal() values need to be cleared for memory leak?

In react, I often had to do a if (mounted.current) {...} test to do something with reactive variables like states if I'm setting/using it after a Promise. If I use useSignal() from Preact, do I still have to check for if (mounted.current) {...} ?
0 Replies
No replies yetBe the first to reply to this messageJoin