Skip to content

Commit ec8699a

Browse files
authored
Merge pull request #4613 from ggdaltoso/web-publisher/ggdaltoso/overview.mdx
docs: Update `docs/rtk-query/internal/overview.mdx`
2 parents b810f63 + 472c8d0 commit ec8699a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/rtk-query/internal/overview.mdx

+16-16
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ RTK-Query uses a very familiar redux-centric architecture. Where the `api` is a
3838
The slices built inside this "build" are:
3939
_Some of which have their own actions_
4040

41-
- querySlice
42-
- mutationSlice
43-
- invalidationSlice
44-
- subscriptionSlice (used as a dummy slice to generate actions internally)
45-
- internalSubscriptionsSlice
46-
- configSlice (internal tracking of focus state, online state, hydration etc)
41+
- `querySlice`
42+
- `mutationSlice`
43+
- `invalidationSlice`
44+
- `subscriptionSlice` (used as a dummy slice to generate actions internally)
45+
- `internalSubscriptionsSlice`
46+
- `configSlice` (internal tracking of focus state, online state, hydration etc)
4747

4848
buildSlice also exposes the core action `resetApiState` which is subsequently added to the `api.util`
4949

@@ -53,21 +53,21 @@ RTK-Query has a series of custom middlewares established within its store to han
5353

5454
Each middleware built during this step is referred to internally as a "Handler" and are as follows:
5555

56-
- `buildDevCheckHandler
57-
- `buildCacheCollectionHandler
58-
- `buildInvalidationByTagsHandler
59-
- `buildPollingHandler
60-
- `buildCacheLifecycleHandler
61-
- `buildQueryLifecycleHandler
56+
- `buildDevCheckHandler`
57+
- `buildCacheCollectionHandler`
58+
- `buildInvalidationByTagsHandler`
59+
- `buildPollingHandler`
60+
- `buildCacheLifecycleHandler`
61+
- `buildQueryLifecycleHandler`
6262

6363
### buildSelectors
6464

6565
build selectors is a crucial step that exposes to the `api` and utils:
6666

67-
- `buildQuerySelector
68-
- `buildMutationSelector
69-
- `selectInvalidatedBy
70-
- `selectCachedArgsForQuery
67+
- `buildQuerySelector`
68+
- `buildMutationSelector`
69+
- `selectInvalidatedBy`
70+
- `selectCachedArgsForQuery`
7171

7272
### return
7373

0 commit comments

Comments
 (0)