See https://kaleidawave.github.io/posts/prism-one-point-five
This release adds the ability to render components content on the server using the @RenderFromEndpoint
decorator.
Text can now be interpolated alongside elements so the following is now possible:
<template>
<div>
{someText}
<a href="#">Some Link</a>
</div>
</template>
And for the following:
<div #if="someProp">
<span>{title}</span>
</div>
<div #else>
<p>{title}</p>
</div>
The get expression for title
is now span.innerText ?? p.innerText
. Before it would try and get the first instance and return null if it didn't exist.
Rust SSR methods are greatly improved. Now uses a single buffer, capacity can be set with @WithCapacity
decorator and removed unnecessary to_string
ing of String
types.
New compiler options: noBundle
to not concatenate client output and outputTypeScript
to output client code with TypeScript syntax.
Lots of internal improvements for compiling components in the browser.