Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
10 replies
uiuxphil

RTK Query (with no redux) or React Query?

I'm a noob, obviously, but a bunch of my friend called me out for making api requests in useEffect and they recommended me to use RTK query instead. The problem is that I'm not planing on using redux in my project, since its way too small for that.

So... should I go with RTK query (with no redux) or with React Query instead?

Just please elaborate a bit because I want to understand why, not just blindly follow. Huge thanks <33
Was this page helpful?