#fablecompiler — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #fablecompiler, aggregated by home.social.
-
So here we go: By using the standard Blazor JS interop, we can make a few assumptions about how we can write our Fable code so it can be consumed.
Blazor will be able to consume exported members in a JS file, which can be done easily by having public let bound members in fsharp modules
Once fable outputs the javascript we will have an exported member which then can be called by the Microsoft.JSInterop API surface
#dotnet #fsharp #fablecompiler #blazor #jsinterop