DEV Community

Discussion on: Using lit-html with F#

Collapse
 
festimdeari profile image
Festim Deari

I like it 👌. I tried adding the FAST Web Components from Microsoft. I just needed to add the following lines after installing the library, and it worked very good:

open Fable.Core.JsInterop

let provideFASTDesignSystem: unit -> obj = importMember "@microsoft/fast-components"
let allComponents: obj = importMember "@microsoft/fast-components"
provideFASTDesignSystem()?register(allComponents)
Enter fullscreen mode Exit fullscreen mode
Collapse
 
tunaxor profile image
Angel Daniel Munoz Gonzalez

Nice! There are some libraries that indeed still require some bindings, but I hope that writing bindings for the js surface is more appealing than binding the whole DSL AND the JS surface

Feel free to send feedback and any issues you may face around!