Mark Erikson
Mark Erikson
> One of the things I like about SWR is the ergonomics around [`mutate`](https://swr.vercel.app/docs/mutation). > > In the same realm of the discussion in [#5073](https://github.com/reduxjs/redux-toolkit/issues/5073) of helpers around manual cache...
We have the `TypedUse*` types (`TypedUseQuery`, etc) to allow userland typing of things like hooks and hook results, but I don't think we actually describe those in the docs. We...
Right now the standard pattern for an optimistic update is pretty verbose: ```ts const api = createApi({ baseQuery: fetchBaseQuery({ baseUrl: '/', }), tagTypes: ['Post'], endpoints: (build) => ({ getPost: build.query({...
There's a few related open issues that that are variations on this, so writing this up officially. ## Problem Statement RTK Query's `createApi` currently exists in two forms: there's the...
Per below, there's a reasonable use case for some kind of global polling control mechanism. Not sure exactly what it should cover atm, but seems useful. ### Discussed in https://github.com/reduxjs/redux-toolkit/discussions/5033...
We're getting a lot of questions about whether RTK Query works with RSCs. Quoting Lenz at https://twitter.com/phry/status/1666553972075687938 : > There's a lot of nuance. In client components, it effectively already...
### Discussed in https://github.com/reduxjs/redux-toolkit/discussions/5027 Originally posted by **soggybeef** July 4, 2025 Language: Typescript Version: `"@reduxjs/toolkit": "^2.3.0",` I was trying to conditionally run an infinite query to prevent the first request...
I was browsing NPM for sourcemap related packages and came across this `@chialab/estransform` package. According to the current published version on NPM and the `README` in the repo today, the...