-
|   react 19.0.0 I have the following component in my component tree to start and run polling of notifications. The notification is taken care of by an RTK query listener: The notification works as expected but the "Update the balance after payment" bit does not work. What I had hoped to do was to trigger a new network operation and have the component using the account query re-render and show the updated balance. What happens is that there is a redux action of type "api/internalSubscriptions/subscriptionsUpdated" dispatched, but then nothing more happens. Is there a way to forcibly trigger the network operation in a way that will cause the component using the query to re-render when data arrives? Thanks!  |  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|   Figured out how to do it: 
 With this, the account balance is automatically updated when payment notification is picked up by the poller in the Notification component.  |  
Beta Was this translation helpful? Give feedback.
Figured out how to do it: