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

Compose: Separation of presenter and UI #13

Open
thumannw opened this issue Oct 29, 2024 · 0 comments
Open

Compose: Separation of presenter and UI #13

thumannw opened this issue Oct 29, 2024 · 0 comments

Comments

@thumannw
Copy link

(Rather a discussion topic but it's disabled in this project.)
Nice idea you had here and interesting API to address issues of common boilerplate code.

There is this architectural design pattern to separate presenter business logic (with state) from the UI (with events), a la https://github.com/slackhq/circuit or https://github.com/cashapp/molecule. Your approach seems to fit nicely into this pattern. So are you planning to include some examples showing integrations into these frameworks? Or maybe your API could simply serve as an alternative framework for this pattern, after extending your Compose module to get the Compose runtime running without UI (presenter layer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant