Redux Toolkit Query

Redux Toolkit Query extends the functionality of Redux to the back end by fetching data from the server and storing it into the state.

It caches the results so that an identical request in future will not trigger unnecessary fetching.


Overview: (usage to be explained in detail in the latter sections)

Root APIs
Argument Keys to createApi({})
Member functions of createApi({}) endpoints builder
Argument Keys to createApi({}) endpoints builder
Object keys of return slice of createApi({})
Generated React Hooks in slice
Hook Options
Keys to object returned from calling Generated React Hooks
Argument keys to fetchBaseQuery({})
Arguments to setupListeners()