Tech News
← Home  ·  All topics

Dom

3 GoKawiil briefs on this topic

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.