Fable.Lit
Fable.Lit copied to clipboard
Write Fable Elmish apps with Lit
This is the class bindings PR these are the first bits but I want to iterate over this and see if there's a way we can also apply some of...
is there a way to wrap within a web-component a requirejs/amd module? i am using a very old durandaljs (then aureliajs) app, and it uses requirejs and amd module loading....
The prototype that I have was working when Lit root is using non Elmish (basically similar to switching the two here) https://github.com/fable-compiler/Fable.Lit/blob/main/sample/App.fs#L47 Now when I load a LitComponent with Elmish...
See #26
Taking advantage of the reactive controllers branch and it's very likely major version bump I also wanted to follow up #36 where it would be nice to expose the class...
Importing verbatim css from an external source into a ``LitConfig.styles`` element does not work: ```fsharp let mycss' : {| ``default``: string |} = JsInterop.importAll "./public/some.css" let mycss = mycss'.``default`` ......
I am trying to create a custom web component that takes attributes: ```F# [] let FluentIcon() = let _, props = LitElement.init(fun init -> init.useShadowDom
If you add a "native" Lit component and a controller inside a Fable.Lit application they work just fine: https://github.com/AngelMunoz/ControllersRepro/blob/master/src/Controllers/controllers.js https://github.com/AngelMunoz/ControllersRepro/blob/master/src/Components/Navbar.fs#L51 but if you want to [add the same controller to...
I am testing with the Fable.LitRouter and LitState but it requires 1.4.2, I get compilation error if I get 1.4.2 but if I downgrade to 1.4.1 then there's no error....