Relative Content

Tag Archive for typescriptrtk-query

RTK Query provide tags function types

I would like to implement some kind of automatic tag handling for queries, which get error codes 401 unauthorized, to be fired again after a successful login using RTK query cache invalidation.

Typescript: Extend generic interface used in package

I would like to implement some automatic behaviors in RTK Query. Therefore I implemented some debounced mutations and would like to also handle optimistic updates before the mutation even fired the request. The implementation works as desired.

Typescript: Extend generic interface used in package

I would like to implement some automatic behaviors in RTK Query. Therefore I implemented some debounced mutations and would like to also handle optimistic updates before the mutation even fired the request. The implementation works as desired.