# System map — reduxjs/redux-toolkit

> Canonical page: https://codevetter.com/unpack/redux-toolkit/system-map

# System map — reduxjs/redux-toolkit

Scanned commit e7a8b318df28aaf50ced1e65cd4636b7508263b2 (2026-09-29). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

The main product is a set of published library entrypoints consumed by application stores. RTK Query separates framework-independent request machinery from React hook generation. Redux state and middleware-local maps have distinct ownership responsibilities. Build configuration emits several module formats, while documentation deployment incorporates this checkout into the separate Redux website.
- @reduxjs/toolkit exposes four public entrypoints: the root, /react, /query, and /query/react, with conditional module-sync, browser, React Native, import, and CommonJS resolution. — [packages/toolkit/package.json#L31-L70](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/package.json#L31-L70) [packages/toolkit/package.json#L71-L108](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/package.json#L71-L108) [packages/toolkit/package.json#L109-L146](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/package.json#L109-L146) [packages/toolkit/package.json#L147-L184](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/package.json#L147-L184)
- The root entrypoint exports store, slice, thunk, entity, listener, dynamic middleware, and batching APIs; /react reexports the root and adds React-specific dynamic middleware. — [packages/toolkit/src/index.ts#L18-L61](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/index.ts#L18-L61) [packages/toolkit/src/index.ts#L176-L200](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/index.ts#L176-L200) [packages/toolkit/src/react/index.ts#L3-L7](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/react/index.ts#L3-L7)
- React createApi is assembled by buildCreateApi(coreModule(), reactHooksModule()); the query entrypoint exposes core createApi without requiring generated React hooks. — [packages/toolkit/src/query/react/index.ts#L5-L14](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/react/index.ts#L5-L14) [packages/toolkit/src/query/index.ts#L75-L79](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/index.ts#L75-L79)
- coreModule initializes selectors, thunks, slices, initiation functions, and middleware, then attaches endpoint select/initiate functions and thunk matchers. — [packages/toolkit/src/query/core/module.ts#L565-L619](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/core/module.ts#L565-L619) [packages/toolkit/src/query/core/module.ts#L644-L660](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/core/module.ts#L644-L660) [packages/toolkit/src/query/core/module.ts#L669-L716](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/core/module.ts#L669-L716)
- API Redux state combines queries, mutations, provided tags, subscriptions, and config; a WeakMap keyed by dispatch separately holds subscription, polling, and running-request maps. — [packages/toolkit/src/query/core/buildSlice.ts#L712-L721](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/core/buildSlice.ts#L712-L721) [packages/toolkit/src/query/core/module.ts#L631-L642](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/src/query/core/module.ts#L631-L642)
- The pnpm workspace includes packages, docs, infinite-query examples, and type-portability fixtures. Root build/test scripts recursively filter @reduxjs/* and @rtk-query/*; workspace dependency linking is disabled. — [pnpm-workspace.yaml#L11-L20](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/pnpm-workspace.yaml#L11-L20) [pnpm-workspace.yaml#L45-L48](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/pnpm-workspace.yaml#L45-L48) [package.json#L40-L50](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/package.json#L40-L50)
- tsdown builds separate nested entrypoints without shared chunks, externalizes Redux/React/Immer dependencies, and emits modern ESM, development/production CJS, browser ESM, legacy ESM, and declaration variants. — [packages/toolkit/tsdown.config.mts#L83-L105](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/tsdown.config.mts#L83-L105) [packages/toolkit/tsdown.config.mts#L125-L166](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/tsdown.config.mts#L125-L166) [packages/toolkit/tsdown.config.mts#L168-L232](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/tsdown.config.mts#L168-L232) [packages/toolkit/tsdown.config.mts#L234-L289](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/packages/toolkit/tsdown.config.mts#L234-L289)
- Documentation pages live here, but the Docusaurus website lives in reduxjs/redux. Netlify previews build Toolkit and the combined site using DOCS_SOURCE_REDUX_TOOLKIT; production publishes redirects to redux.js.org/toolkit. — [docs/README.md#L1-L16](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/docs/README.md#L1-L16) [netlify.toml#L7-L25](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/netlify.toml#L7-L25) [netlify.toml#L37-L42](https://github.com/reduxjs/redux-toolkit/blob/e7a8b318df28aaf50ced1e65cd4636b7508263b2/netlify.toml#L37-L42)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
