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

Svelte · Language · all subjects

editor tooling

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

VS Code extension for Svelte

The Svelte team maintains a VS Code extension available on the VS Code Marketplace. There are also integrations with various other editors and tools available through the Svelte Society collection.

eslint-plugin-svelte3 deprecated

eslint-plugin-svelte3 is deprecated and may not work reliably with Svelte 4. Switch to the new eslint-plugin-svelte package instead.

svelteHTML namespace replaces svelte.JSX in Svelte 4

If you enhanced global typings through the svelte.JSX namespace, migrate to use the svelteHTML namespace instead. If you used svelte.JSX for type definitions, migrate to use types from svelte/elements instead.

Documentation comment format for components

In editors which use the Svelte Language Server, components can be documented using specially formatted comments. JSDoc-style comments starting with /** document individual exports. An HTML comment with @component tag describes the entire component. Both will show up on hover. The @component tag in the HTML comment is necessary. Markdown can be used in the component documentation comment, including code blocks.

Give your agent this brain