Skip to content
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

Controller Pattern in remote environments? #1012

Closed
Tracked by #1006
mfal opened this issue Nov 28, 2024 · 2 comments
Closed
Tracked by #1006

Controller Pattern in remote environments? #1012

mfal opened this issue Nov 28, 2024 · 2 comments
Assignees

Comments

@mfal
Copy link
Member

mfal commented Nov 28, 2024

No description provided.

@mfal mfal mentioned this issue Nov 28, 2024
23 tasks
@mfal mfal self-assigned this Nov 28, 2024
@mfal
Copy link
Member Author

mfal commented Nov 28, 2024

Tests with a Modal and the OverlayController show, that this pattern does not work. Because an OverlayController can not be "transferred" to the host environment.

A solution could be to use Imperative Handles.

@mfal
Copy link
Member Author

mfal commented Jan 29, 2025

Controllers can run on the remote environment, so there is no need for imperative handles. Actions for controllers like open() or close() in case of an Overlay, can be called by event handler, which are also running on the remote environment.

@mfal mfal closed this as completed Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant