dotnet-websharper / ui

A reactive UI library for WebSharper.
https://websharper-samples.github.io/ui/
Apache License 2.0
77 stars 22 forks source link

Server side subtemplates #203

Closed Jand42 closed 6 years ago

Jand42 commented 6 years ago

Implements sub-templating working with the same syntax on server-side too. (#175)

Includes support for multi-file templating, which is now reusing GetOrLoadTemplate for the purpose of making sure the needed other file is loaded but discarding the result.

Added tests to Templating.ServerSide.Tests project.

Tarmil commented 6 years ago

The C# code generator also needs to be updated accordingly; right now it fails due to passing one less argument to GetOrLoadTemplate than needed.