Features
- Observer directives:
:mount,:change,:intersect,:resize - Web component boundaries: directives on custom elements are treated as prop setters, parent traversal stops at component boundary
define-elementintegration:refpath refs and callback refs
Changes
:valueis now one-way state → DOM- Use
:changefor DOM → state write-back - Use
:mountfor setup/cleanup instead of lifecycle-style:ref :intersectand:resizehandle their own modifiers
Fixes
- Fixed radio and select-multiple handling in
:value - Fixed style property filtering
- Caret preservation in
:text
Improvements
- Faster
clsx, class iteration, and sequence parse setup - More tests for portal, fx, hidden, events, text, default attrs, forms, and custom elements
- Docs, recipes, and comparison updates for v13
Full Changelog: v12.4.17...v13.0.0