This is a minor release for WebSharper and WebSharper.UI.
Install templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.2.9.232
Download templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.2.9.232.vsix
System.Object
type, implemented as follows:
null
, a boolean, a string, a number, an array or a plain object).float
(System.Double
)obj[]
Dictionary<string, obj>
System.Object
is not supported. This is to avoid accidentally upcasting the argument of Json.Serialize
to System.Object
when a type annotation is missing.Seq.chunkBySize
and other similar functions does not fail erroneously on some inputs."outputdir"
in ws.config
or WebSharperOutputDir
in project properties or a web.config
file in the project folder, an explicit error is given that the unpack output directory cannot be determined.Router.InstallInto
and Router.InstallHashInto
, which are similar to Router.Install
and Router.InstallHash
respectively except that they take a Var<'EndPoint>
as argument rather than creating and returning one.click
event handler on Doc.Checkbox
, only keeping change
, to avoid setting the Var twice..OnXyz(...)
event handlers.Var.Make
whenever an initial value is available from the View
.View.TryGet : View<'T> -> option<'T>
which returns the current value of a View
if available, or None
if not (eg if a View.MapAsync
hasn't returned yet).Happy coding!
Can’t find what you were looking for? Drop us a line.