-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Question: Can we have multiple windows? #10
Comments
@JordanMarr Unfortunately no, not currently at least. I don't think Xamarin.Forms even support it at all. |
I only need to target WPF. It doesn't necessarily have to be two separate windows, as much as the ability to run multiple loops at the same time. What I would love to be able to recreate is the experience in Fable.React of being able to create multiple views with their own dispatch loops. This makes it so much easier to have a multi-page app because you don't have to deal with wiring up all the messages. This has become a staple for me. In React, each view is declared as a function component, and I can use a function like "useReducer" or "useElmish" to start up an isolated dispatch loop just for that view. This makes it trivial to have multiple views, where each view is somewhat isolated and self-contained by having its own dispatch loop.
The "downside" in this approach is that you have multiple disparate dispatch loops as opposed to one unified loop. |
You might be interested by TimLariviere/Fabulous#25 Let me know if this is the concept you need. |
That looks very promising! In the CounterApp sample, I really like The optional This looks great! |
Any chance of this fabulous feature making making it into a release in the near future? |
Thanks for the feedback! I fear it will take a few months before I can add that feature, since it is dependent on the new architecture I've been playing with. Currently my priorities are as follow:
|
Is it possible to open multiple windows now? For example, let's say I want to open a new modal window from the main app/window where the modal window has its own separate update loop.
The text was updated successfully, but these errors were encountered: