Tech News
← Home  ·  All topics

Dom

5 GoKawiil briefs on this topic

Benchmark tests AI coding agents across JavaScript frameworks for cost and output

A developer built a benchmark to measure how AI coding agents perform when instructed to build the same small Pokémon app using different JavaScript frameworks, such as Next.js, Nuxt and SvelteKit. The test compares outputs against a conformance suite to prevent cheating, measuring development time, token usage, lines of code, and resulting performance and accessibility.

Chrome runs origin trial for HTML-in-Canvas API letting DOM render inside Canvas

Google engineers Thomas Nattestad and Natalia Markoborodova announced an experimental HTML-in-Canvas API, now available via origin trial, that lets developers draw DOM content directly into a 2D canvas or a WebGL/WebGPU texture. The API aims to keep that embedded UI interactable and accessible while retaining browser features such as text selection, translate, dark mode and autofill.

New library Mador adds reactive state binding to plain HTML in 855 bytes

A developer released Mador, an open-source JavaScript library that lets existing DOM elements respond to state changes without adopting a full framework. It uses a Proxy-based state tuple with read and write functions to bind elements to specific state properties, updating only when those dependencies change. The tool is distributed as a native ES module via npm or CDN and is roughly 855 bytes when minified.

Vidact compiler converts React components into direct DOM code at build time

Vidact is a new build-time compiler that analyzes React function components and generates plain JavaScript DOM manipulation code instead of shipping a runtime virtual DOM. Component bodies execute only once at mount, and subsequent setState calls update only the specific text nodes and attributes tied to that state. The project is in beta, supports a documented subset of React 19, and rejects unsupported code patterns during compilation.

WebMCP lets websites expose structured tools for AI agents in Chrome trial

WebMCP is a new approach, currently running in Chrome under an experimental trial, that lets websites declare specific functions—like a book_table tool—that AI agents can call directly with structured parameters. This replaces the current method where agents must scrape raw HTML, guess which buttons or fields to interact with, and often break when a page's layout changes.