WebSharper 6.0.3
This is a minor enhancement release of WebSharper 6. NuGet version 6.0.3.237
.
Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::6.0.3.237
Enhancements
- #1267 The
JavaScript
attribute now can be used on constructor parameters with typeFSharp.Quotations.Expr<_>
to auto-transpile expression passed in. Previously this feature was available only on methods. (For example this is used internally byDoc.ClientSide
helper of WebSharper.UI`) - #1266 The
ClientSide
function defined inWebSharper.Web.dll
is now marked obsolete. Usenew WebSharper.Web.InlineControl(expr)
directly if needed, or when using WebSharper.UI, theDoc.ClientSide
function. (It is recommended to useDoc.ClientSide
instead ofclient
, the former supports auto-quoting its expression argument, so you don't need to wrap it in<@ ... @>
.