Skip to content

Commit f259beb

Browse files
authored
Update why-rtk-is-redux-today.md
Added a missing space
1 parent 3cd25e1 commit f259beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/introduction/why-rtk-is-redux-today.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ From there, Redux Toolkit includes other APIs for common Redux tasks:
181181
- `createSelector`: a re-export of the standard Reselect API for memoized selectors
182182
- `createListenerMiddleware`: a side effects middleware for running logic in response to dispatched actions
183183

184-
Finally, the RTK package also includes "RTK Query", a full data fetching and caching solution for Redux apps, as a separate optional `@reduxjs/toolkit/query` entry point. It lets you define endpoints (REST, GraphQL, or any async function), and generates a reducer and middleware that fully manage fetching data, updating loading state, and caching results. It also automatically generates React hooks that can be used in components to fetch data, like `const { data, isFetching} = useGetPokemonQuery('pikachu')`
184+
Finally, the RTK package also includes "RTK Query", a full data fetching and caching solution for Redux apps, as a separate optional `@reduxjs/toolkit/query` entry point. It lets you define endpoints (REST, GraphQL, or any async function), and generates a reducer and middleware that fully manage fetching data, updating loading state, and caching results. It also automatically generates React hooks that can be used in components to fetch data, like `const { data, isFetching } = useGetPokemonQuery('pikachu')`
185185

186186
Each of these APIs is completely optional and designed for specific use cases, and **you can pick and choose which APIs you actually use in your app**. But, all of them are highly recommended to help with those tasks.
187187

0 commit comments

Comments
 (0)