Skip to content

RTK Query API pain points and rough spots feedback thread #3692

Open
@markerikson

Description

@markerikson

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions