Horseshoe is a Visual Studio extension used to compile templates into TypeScript files that can be used for generating HTML or similar files. It works by expanding tags in a template using values provided as an input object, called the data context, to the generated function. The benefit of having the template compiled into TypeScript at design time, as opposed to having the template parsed and transformed at runtime is strong type-checking as well as some performance benefit. See https://github.com/alphaleonis/Horseshoe for more information. |