We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbdac06 commit 1cba239Copy full SHA for 1cba239
docs/rtk-query/overview.md
@@ -152,7 +152,9 @@ import { useGetPokemonByNameQuery } from './services/pokemon'
152
export default function App() {
153
// Using a query hook automatically fetches data and returns query values
154
const { data, error, isLoading } = useGetPokemonByNameQuery('bulbasaur')
155
-
+ // You can also perform with raw endpoints name and useQuery() API
156
+ // const { data, error, isLoading } = pokemonApi.endpoints.getPokemonByName.useQuery('bulbasaur')
157
+
158
// render UI based on data and loading state
159
}
160
```
0 commit comments