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 4f9a7b8 commit 7985091Copy full SHA for 7985091
docs/tutorials/rtk-query.mdx
@@ -188,6 +188,8 @@ export default function App() {
188
// highlight-start
189
// Using a query hook automatically fetches data and returns query values
190
const { data, error, isLoading } = useGetPokemonByNameQuery('bulbasaur')
191
+ // Individual hooks are also accessible under the generated endpoints:
192
+ // const { data, error, isLoading } = pokemonApi.endpoints.getPokemonByName.useQuery('bulbasaur')
193
// highlight-end
194
195
return (
0 commit comments