Question about async effects and their underlying reactivity

Hello! I'm learning solid, coming from a react background, and had a question about something mentioned on the docs. One of the considerations listed is that "This approach only tracks synchronously. If you have a setTimeout or use an async function in your Effect the code that executes async after the fact won't be tracked." I was wondering why this is the case behind the scenes? Just because its a setTimeout or async function in the effect, it still is calling the primitives that manages all of the reactivity, so why wouldnt the code that runs async follow the same typical reactive behavior / wouldn’t be tracked? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server