Skip to content

WebSharper 6.0.3

Compare
Choose a tag to compare
@Jand42 Jand42 released this 04 Oct 08:57
· 504 commits to master since this release

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 type FSharp.Quotations.Expr<_> to auto-transpile expression passed in. Previously this feature was available only on methods. (For example this is used internally by Doc.ClientSide helper of WebSharper.UI`)
  • #1266 The ClientSide function defined in WebSharper.Web.dll is now marked obsolete. Use new WebSharper.Web.InlineControl(expr) directly if needed, or when using WebSharper.UI, the Doc.ClientSide function. (It is recommended to use Doc.ClientSide instead of client, the former supports auto-quoting its expression argument, so you don't need to wrap it in <@ ... @>.