T
TanStack2y ago
rising-crimson

What should i do if i use rtk query

No description
2 Replies
xenogeneic-maroon
xenogeneic-maroon2y ago
Not really an RTK Query user here 🙌🏼, but is there not a way to Dispatch RTK Query actions/thunks independently to React? Like how would you trigger query-b after query-a is complete (in Redux land)? Because you can't call hooks inside of a loader since that environment isn't a React component, just from Javascript that's running before your Component is rendered.

Did you find this page helpful?