core
core copied to clipboard
WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
WebSharper.UI's templating uses ResizeArrays to collect template hole fills. This generates a lots of pushes to same JS array like `_this$1.h.push(a)` in a sequence, also generating as many unnecessary aliases...
On https://github.com/dotnet-websharper/core/blob/master/CONTRIBUTING.md#running-the-tests There is this instruction: `"On Linux or OSX, you can browse into the tests/Web folder and simply run xsp"` This seems to be a mono command. Is this...
For both Ubuntu 20.04 and windows 11, I get this error while building: ``` --------------------------------------------------------------------- Build Time Report --------------------------------------------------------------------- Target Duration ------ -------- WS-GenAssemblyInfo 00:00:00.1649791 Prepare 00:00:00.0031419 (Could not find...
New language features: (See [What’s new in C# 11](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-11)) - Generic math support - not planned, would not be efficient in JS, and provides nothing Macros/Inlines can't do - [...
With the new `class` member features of ES2022, generated `.js` could finally be a much closer match to original .NET code. This is a master ticket for modernizing effort: ##...
👋 Hey there, I'm trying to serialize a nested type of `array` however it seems to output unexpected json given the docs on the json serializer regarding options. ```fsharp []...
Now that we have a prototype for sitelet bundling, we have the capability to extend it over SPAs. For instance, given an SPA entry point: ```fsharp type HomeTemplate = Template...
It seems like the following commit has broken bitwise not operations in the compiled javascript: https://github.com/dotnet-websharper/core/commit/58f9fcda175a022dfce73ac59b281ca318188df2 Let's consider: `Console.Log(~~~1000)` Before that commit it correctly printed `-1001` From that commit onwards...
To allow changing the bundling behavior for Release/Debug builds, we can extend `wsconfig.json` with relevant sections. For instance, the following sets up "prebundling" in release mode: For example: ``` {...