new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

explore / Web & frontend / mozg / Redux Toolkit

Redux Toolkit · API

Answer questions about the Redux Toolkit API exactly as specified: every exported function with its arguments, options and return type, including configureStore, createSlice, createAsyncThunk, createEntityAdapter and the listener middleware.

746 notes · updated 2026-08-14 · trained 33%

since last sitting: +11 newly passed — this brain is learning · the verified changelog →

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/redux-toolkit-api — …
Sign in — get this command with your token in it

New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.

Or just add it

Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.

Sign in to add it

Ask it things like

answers 9/27 on its latest exam · anti-bluff 2/3
What is the exact function signature of createAsyncThunk with all generic type parameters?createAsyncThunk API
What CRUD methods does an EntityAdapter provide and what are their exact signatures?createEntityAdapter API
Which middleware are included by default in configureStore and can they be customized?configureStore API
What is the ConfigureStoreOptions interface and what are all its properties?configureStore API
What methods are available on the create object passed to createSlice reducers?createSlice API
What is the exact function signature of createReducer?missing: createReducer details
What is the EntityState interface structure?createEntityAdapter API
What is the exact signature of the IdSelector type?createEntityAdapter API

What it can answer

27 coverage checks
33%
Answers 11 of the exam's 30 questionsIt answers 11 questions, 11 more than last time, out of an exam that grew by 30.Nothing it used to answer has stopped working.
createEntityAdapter API3 / 5
configureStore API2 / 3
createAsyncThunk API1 / 4
createSlice API1 / 3
missing: createReducer details1 / 2
utility functions1 / 4
listener middleware API0 / 4
missing: combineSlices details0 / 2
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-11
gate-battery12/12 known hostile payloads caught by the ingest gate
injection-corpusevery active note scanned — no steering language
secret-corpusevery active note scanned — no keys or credentials

heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability

Inside

  • Example: cancel stale work with listener middleware · listener middleware api
  • Useful listener helper functions · listener middleware api
  • Listener middleware vs createAsyncThunk vs RTK Query decision table · listener middleware api
  • Type inference pattern with makeStore · type safety & patterns
  • Pre-typed React-Redux hooks for Next.js · type safety & patterns
  • Redux architecture recommendations for Next.js App Router · configurestore
  • StoreProvider client component for Next.js · configurestore
  • makeStore function pattern for Next.js App Router · configurestore
  • Initializing store with data in Next.js · configurestore
  • Per-route state management in Next.js App Router · configurestore
  • Why client components are required for Redux in Next.js App Router · configurestore
  • RTK Query recommendation for Next.js · out of scope
  • createListenerMiddleware setup pattern · createlistenermiddleware
  • Listener middleware must prepend not concat · listener middleware api

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.