I have a React component in which I make multiple subscriptions and cache them on the client. Problem is that if I log in to another user, the same subscription is still cached, resulting in the wrong data being shown.
I want to do something like SubsManager.clearAll, because I dont have access to the new SubsManager() reference in the callback.
Hi
I have a React component in which I make multiple subscriptions and cache them on the client. Problem is that if I log in to another user, the same subscription is still cached, resulting in the wrong data being shown.
I want to do something like
SubsManager.clearAll
, because I dont have access to thenew SubsManager()
reference in the callback.Is this possible?