You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until line 3 everything works as expected. I get all "added" messages and "removed" messages
The problem is after resubscribing (on line 4) I don't get the "insert" messages again.
I'm trying to understand how asteroid and ddp.js works inside to find clues about this behaviour and I think that is something related to the asynchronicity of unsub and sub
(Obviously the "b" function is hypothetical but something similar is happening on my App because of React's HMR)
The text was updated successfully, but these errors were encountered:
This happens because when you unsub from a subscription, it doesn't actually get deleted from the subscription cache until the server replies with a nosub message.
Hi, consider this code:
Until line 3 everything works as expected. I get all "added" messages and "removed" messages
The problem is after resubscribing (on line 4) I don't get the "insert" messages again.
I'm trying to understand how asteroid and ddp.js works inside to find clues about this behaviour and I think that is something related to the asynchronicity of unsub and sub
(Obviously the "b" function is hypothetical but something similar is happening on my App because of React's HMR)
The text was updated successfully, but these errors were encountered: