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

Vue · API reference · all subjects

application & config

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.

Vue reserves $ and _ prefixes for internal use

Vue uses a $ prefix when exposing its own built-in APIs via the component instance. It also reserves the prefix _ for internal properties. Avoid using names for top-level data properties that start with either of these characters.

Vue can be used as standalone script without build step

Vue can be used as a standalone script file with no build step required. This approach is suitable when a backend framework is rendering most HTML or when frontend logic is not complex enough to justify a build step. In such cases, Vue can be thought of as a more declarative replacement of jQuery.

Vue can build standard Web Components

Vue can be used to build standard Web Components that can be embedded in any HTML page regardless of how they are rendered. The resulting web components can be embedded in legacy applications, static HTML, or applications built with other frameworks.

Server-Side Rendering (SSR) API available in Vue

Vue provides first-class APIs to render a Vue app into HTML strings on the server. The server sends back already-rendered HTML allowing users to see content immediately while JavaScript is downloading. Vue then hydrates the application on the client side to make it interactive. This improves Core Web Vital metrics such as Largest Contentful Paint (LCP).

Custom Renderer API available in Vue

Vue provides a Custom Renderer API that allows building custom renderers beyond web applications, such as renderers for the terminal.

Give your agent this brain