Otto Ahoniemi
Otto Ahoniemi
Different use cases: - [ ] separate repo for backend and frontend - [ ] shared repo - [ ] SPA frontend - [ ] server side generated frontend -...
When using enhanceApi, the tag types for "providesTags" or "invalidatesTags" aren't actually checked against the given tagTypes. See example below: ``` const existingApi = createRTKQueryApi({ baseQuery: (string_: string) => {...
fix things so there's no need to cast
You shouldn't be able to pass invalidateTags to query and providesTags to mutation etc.