Repository navigation
v0.1.5
Release Notes - v0.1.5
round-core v0.1.5
Improved keyed list reconciliation for better performance and state preservation.
New Features
- Keyed
forloops: Usekey=exprto enable efficient DOM reconciliation:{for(todo in todos()) key=todo.id { <TodoItem todo={todo} /> }}
- Preserves input focus and cursor position during list reordering
- Minimizes DOM mutations by reusing existing nodes
ForKeyedcomponent: New runtime component for keyed iteration with a "minimal-move" algorithm.
VS Code Extension v0.1.5
Major fixes to hover, diagnostics, and JSX superset parsing.
Bug Fixes
catch(e)hover now works correctly: Fixed a bug where hovering overcatchshowed "Fragment" instead of TypeScript info.- FOR loops now transform properly: Fixed a parsing bug where
for(item in list)loops would show "Expression expected" errors. - Accurate offset mapping: Improved surgical gap preservation for
try,catch,for,if, andswitchtransformations. - NaN guard in edits: Added protection against invalid edit ranges that caused offset drift.
Improvements
extractConditionnow returnsstart: Fixes offset calculations for all control-flow handlers.- Keyed FOR loop support: The LSP now correctly parses
key=exprsyntax and maps it toForKeyed.