What is Bolero?
masterBolero is a toolkit for running F# applications in WebAssembly via Blazor. It provides a suite of features designed to make F# web development more ergonomic and efficient, including:
- HTML DSL: Functions for writing HTML using a syntax similar to WebSharper.UI or Elmish.React.
- Templating: A type provider-based approach to bind HTML written in separate files to F# code.
- Elmish Integration: The ability to run Elmish programs as Blazor components and use Blazor components as views within Elmish.
- Routing: Integration with Elmish where the URL is mapped to a field in the model (typically a discriminated union), allowing for direct definition of path parameters.
- Remoting: A mechanism to define asynchronous functions on the server and invoke them directly from the client.
- Optimizations: Automatic stripping of F# signature data from assemblies to minimize the size of the WebAssembly payload.