core
core copied to clipboard
WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
Strangely enough, the following Action type fails to map the Home page under "/home", and instead it ends up being reachable via "/Home". ``` #!fsharp [] type Action = |...
As an example, C# Client-Server template uses this on the server: ```csharp div(client(() => Client.Main())) ``` Implementing the equivalent of #853 for C# would mean that something else inside the...
Currently `WebSharper.Json.Activate` which is resolving RPC results does not check if the encoded value's type has a static constructor defined. So if a value of some type is sent over...
For example, in `WebSharper.Control`, we are currently outputting the following: ```typescript export function New(Handlers:(T0)[]):DelegateEvent { // ... } ``` The `extends Function` constraint should only be present in the parameter...
JavaScript `Error` constructor does not use the `this` parameter but returns a new object. Although when targeting EcmaScript 6, class syntax works for inheriting it, compiling to ES5 the prototype...
Currently on `ts-output` branch, WebSharper packager has an option to output a TypeScript module for a project that has: ```typescript import "https://code.jquery.com/jquery-3.1.1.min.js" // for outside JS resources import * as...
Make a client-side function for all RPC-s, stored in a module corresponding to its server-side module. It should return a Promise type that is easily consumed from JavaScript or TypeScript.
So far, in all pre-4.0 and Zafir (4.0 alpha+beta+RC) releases, WebSharper generated JavaScript from F# (and with Zafir also C#) code. In addition to this, 3.x releases were capable of...
Need investigation, no minimal failing test yet.
As described at https://github.com/intellifactory/websharper/issues/861#issuecomment-349645264, currently Sitelet runtime is relying on reflection at runtime startup to find the Sitelet definition(s) to run. This is wasted time that could be determined by...