-
import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query/react";
export const api = createApi({
baseQuery: fetchBaseQuery({ baseUrl: process.env.REACT_APP_BASE_URL }),
reducerPath:…
-
### Current behavior
![352525954-22331002-5e09-405b-a1a4-d439aec6f2e6](https://github.com/user-attachments/assets/3a6f1359-291e-4db4-8e04-e2548ba78963)
### Expected behavior
i use react native 0.…
-
This error shows up in VS Code when using TypeScript.
The slice code:
```js
import { POSItem } from './../POSService';
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { R…
-
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
pro-components版本: 2.3.27
react版本: 18.2.0
antd版本: 4.23.6
直接复制官网的查询表格代码,在严格模式下报…
-
**Is this a feature or a bug?**
- [x] Feature
- [ ] Bug
**Please describe the actual behavior.**
Currently, `api-extractor` strips all `@internal` types from a `@public` export.
**What is…
-
Error commit:
Command: deploy.cmd
Handling ASP.NET Core Web Application deployment.
Restoring NuGet packages
Determining projects to restore...
All projects are up-to-date for restore.
Res…
-
Attempting to find the return type for `queryFn` and not finding any stackoverflow or issues related to this. I am attempting to have an object which should be the type for the eventual return that wi…
-
I'm not really sure where to file this, but:
I just started using `next-mdx-remote`, and everything was working fine until I added the `remark-gfm` plugin. This is the entire error I was getting, …
-
I'm trying to bundle this set of exports:
```ts
export { configureStore } from "@reduxjs/toolkit";
export {createApi} from "@reduxjs/toolkit/query/react";
export { Provider } from "react-redux";…
-
Porting from RTK Toolkit 1.9.7 to 2.0.1 I get the following problem for my RTK Query endpoints when exporting the generated hooks.
E.g.,
```
The inferred type of 'useLazyGetNlpQuery' cannot be …