-
I have this API that handles getting data from Socket connection:
In a component when I get the data, the Is this behavior expected? Because I have used the same way of handling Socket connection in another project that used RTK v1.9 and the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
I'm confused on what you're describing here. Where are you logging the loading values? |
Beta Was this translation helpful? Give feedback.
The query is done (stops loading) once
queryFn
finishes.The lifecycle where you do your websocket call exists "outside" of this and has no influence on loading states.