And yes I'am aware of Redux toolkit that removes alot of the overhead setup of an "Old school Redux" but it still not as efficient in handling asynchronous data.
YASSSSS! THANK YOU! Every time I hear RTK mentioned as an "alternative to" or "inspired by" React Query, my immediate response is, "That's not similar at all. You're still mixing server state with local state. Why?"
YASSSSS! THANK YOU! Every time I hear RTK mentioned as an "alternative to" or "inspired by" React Query, my immediate response is, "That's not similar at all. You're still mixing server state with local state. Why?"
Note that we have a new "RTK Query" data fetching API that will be out in Redux Toolkit 1.6, which is purpose built to abstract all of this data fetching and caching logic for you.