release: WRNexusJS 0.5.10

This commit is contained in:
2026-07-30 13:36:29 +05:30
parent 8fc6f15402
commit d1b0c55b53
159 changed files with 7509 additions and 604 deletions
+19
View File
@@ -102,6 +102,25 @@ try {
compiler.compileWireFile(good);
ok("compiler accepts valid .wrn");
const structuredProps = `page FooterExample {
state footerItems = [
{
"label": "Accessibility",
"href": "/accessibility",
"value": "accessibility"
}
]
view {
<Footer
items={footerItems}
options={{"dense":true}}
links={[{"label":"Privacy","href":"/privacy"}]}
/>
}
}`;
compiler.compileWireFile(structuredProps);
ok("compiler accepts native structured state and unquoted prop expressions");
const badSrc = `page Home {\n view { <h1>Hi</h2> }\n}`;
let threw = false;
try {