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

Redux Toolkit · API · all subjects

rtk query endpoint options

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

providesTags endpoint option

The providesTags option tells RTK Query what cache entries a query represents, enabling tag-based cache invalidation.

invalidatesTags endpoint option

The invalidatesTags option tells RTK Query what cache entries a mutation dirties, triggering refetches of affected queries.

onQueryStarted endpoint option

The onQueryStarted option enables optimistic and pessimistic updates tied to a request lifecycle.

onCacheEntryAdded endpoint option

The onCacheEntryAdded option enables long-lived subscriptions such as streaming data by running a callback when a cache entry is first added.

keepUnusedDataFor endpoint option

The keepUnusedDataFor option specifies how long inactive cache entries stay around before being removed.

Give your agent this brain