-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application helpers? #408
Comments
I created this undo/redo code that doesn't even depend on the Elmish NuGet package, but it is intended to be consumed by an Elimsh application. I did not make it into a NuGet package.
In my application at my (former) employer, I wrote several functions to do this. Most of the work was creating a function-based API for the
In my application at my (former) employer, I defined this type (after dropping the suffix Elmish.WPF/src/Samples/SubModelSeq.Core/Program.fs Lines 9 to 11 in 1bf4d28
I only want to add code to Elmish.WPF if it is specific to WPF (while keeping at eye out for what is truly unique to WPF and what can be shared with Elmish.Uno...c.f. issue #364). For everything else, the easiest thing is to simply share the code (like I did for undo/redo) or write about it. A more streamlined solution is to package up that code via NuGet and maybe even host it from within the Elmish organization.
Yes, I do that too. It is a bit annoying, but I don't know of a better solution. This is specific to WPF, so we might be able to add something one day that helps with this. |
@Evangelink I think this is a great idea, have you had any success implementing some of it? Could you share some examples/code samples? I think the best thing for now would be to create a repo where any user can propose their helpers/patterns etc. so we can browse them at a unique place (instead endlessly searching/reading posted “Issues”) and discuss how to refine these. |
@TysonMN You seem to have many of these scattered throughout the “Issues”/“PR” posts, do you have personal nugets/class libraries of such templates/features/helpers that you could share with all of us (I am aware of Undo/Redo, but sometimes some links are "404" broken)? It would certainly help a lot. Thank you very much |
I have nothing private. Everything is in this GitHub repository. |
Hey there,
There are a couple of helpers (types & functions) that seems to be reusable patterns and I am wondering if they could/should be part of the Elmish.WPF framework or maybe even some global Elmish as maybe some could also be used in Elmish web. I am sure there are some helpers you have also defined and generally reuse hence this question/proposition.
Some ideas:
The text was updated successfully, but these errors were encountered: