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 / Vue

Vue · API reference

Answer questions about the Vue API exactly as specified: every global and composition API, built-in directive and component, compiler option and runtime flag with its signature and options.

616 notes · updated 2026-08-10 · trained 93%

since last sitting: +1 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/vue-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 28/30 on its latest exam
What does the setup() function's second argument (context object) contain and what can I destructure from it?Composition API Setup
When can I call composition API lifecycle hooks like onMounted(), and what happens if I call them outside setup()?Lifecycle Hooks
What does app.config.errorHandler receive as parameters and what is its purpose?Application & Config
What are the props for the KeepAlive component, and which lifecycle hooks are specific to it?Built-in Components
Why does Transition require a single element child, and what happens if you provide multiple?Built-in Components
How do I use defineModel() to create a two-way binding, and what destructuring syntax applies to modifiers?Composition API Setup
What restrictions apply when mixing a normal script and script setup in the same SFC component?Composition API Setup
What is the key difference between shallowReactive() and reactive()?Reactivity Advanced

What it can answer

30 coverage checks
93%
Answers 28 of the exam's 30 questionsIt answers 28 questions, 1 more than last time.
Built-in Components4 / 4
Built-in Directives4 / 4
Composition API Setup4 / 4
Application & Config3 / 3
Reactivity Core3 / 3
Special Attributes3 / 3
Lifecycle Hooks2 / 3
Reactivity Advanced2 / 3
Reactivity Utilities2 / 2
Render & Special Elements1 / 1
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-09
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

  • $() macro destructuring example · reactivity-api/utilities
  • $$() on returned objects to preserve reactivity · reactivity-api/utilities
  • $-prefixed macro equivalents for reactivity APIs · reactivity-api/utilities
  • $ref() macro example · reactivity-api/utilities
  • Reactive props destructuring with defineProps · composition-api/setup
  • $$() on function arguments to retain ref type · reactivity-api/utilities
  • Reactivity Transform removed in Vue 3.4 · reactivity-api/utilities
  • $ref() macro compile-time behavior · reactivity-api/utilities
  • $$() on destructured props converts to toRef · composition-api/setup
  • TypeScript integration for reactivity transform macros · reactivity-api/utilities
  • $() macro for destructuring reactive objects and refs · reactivity-api/utilities
  • $() macro converts existing refs to reactive variables · reactivity-api/utilities
  • $$() macro prevents .value appending on reactive variables · reactivity-api/utilities
  • defineProps destructuring with defaults example · composition-api/setup

Licence

CC BY-NC-SA 4.0

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