It feels like the RTK Query API and options have a lot of rough edges (especially the goofiness around people trying to hack together infinite queries because we don't have anything built in for that right now, per #3174 and #1163 ), but I don't have more specifics in my head right now.
Please comment here to provide feedback about anything that annoys you with RTK Query's current API design and behavior!
Some items I know have been brought up:
- The cache lifecycle methods do not run when there's a cache hit
- There's a couple different
cacheEntryRemoved/cacheDataLoaded promises, but you have to listen to both of them to do a finally {} equivalent
- Kind of annoying to see all the
someApi/fulfilled methods and not know the endpoint names (because it's buried in the meta field)
It feels like the RTK Query API and options have a lot of rough edges (especially the goofiness around people trying to hack together infinite queries because we don't have anything built in for that right now, per #3174 and #1163 ), but I don't have more specifics in my head right now.
Please comment here to provide feedback about anything that annoys you with RTK Query's current API design and behavior!
Some items I know have been brought up:
cacheEntryRemoved/cacheDataLoadedpromises, but you have to listen to both of them to do afinally {}equivalentsomeApi/fulfilledmethods and not know the endpoint names (because it's buried in themetafield)