release: WRNexusJS 0.5.10

This commit is contained in:
Clintchiz committed 2026-07-30 13:36:29 +05:30
1 parent 8fc6f15402
commit d1b0c55b53
159 files changed
+7509 -604

No files matched your search

+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 {