Closed LyndonGingerich closed 8 months ago
I didn't think to check the samples. Here's working code:
module Program =
let main (window: System.Windows.Window) =
WpfProgram.mkSimpleT Model.init Model.update ModelViewModel
|> WpfProgram.startElmishLoop window
Could we still document this, though?
Yes, of course. Want to write the document and submit a PR?
This has been fixed.
High-level description
From README.md:
As far as I can tell,
Program.mkSimpleWpf
no longer exists.Here's my current best try:
This throws the following exception:
I'll keep troubleshooting, but my main point is that the right way isn't obvious, at least to me.
Additional Information Elmish.WPF version: 4.0.0-beta-50 Target framework version: net7.0-windows