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 · all subjects

components/dynamic

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

dynamic component definition

A dynamic component is used when the choice of which child component to render needs to be made dynamically, typically achieved using <component :is="type">. A dynamic component is not a special type of component; any component can be used as a dynamic component. It is the choice of component that is dynamic, rather than the component itself.

Dynamic components in script setup

Since components are referenced as variables in <script setup>, use dynamic :is binding when using dynamic components. Components can be used as variables in a ternary expression.

Give your agent this brain