Skip to content

Compose Runtime/Compiler-plugin (not Compose UI) & workflow-kotlin #272

Discussion options

You must be logged in to vote

We’ve looked at this from two angles. Keeping the fundamental workflow shape (state machine where each workflow is built around a single state value and state transitions), and from the other side: trying to solve the same problems workflow was built to solve completely from scratch, writing minimal code to make it easier to use from compose.

Keep Workflow Shape

I’ve prototyped using local delegate properties to store state, which lets workflows be written as single functions. I’ve done this with custom stuff, as well as using compose’s states and snapshots machinery. It’s really ergonomic, but since workflow doesn’t assume everything’s being controlled by frames, there’s a lot of open qu…

Replies: 9 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by lucamtudor
Comment options

You must be logged in to vote
1 reply
@steve-the-edwards
Comment options

Comment options

You must be logged in to vote
1 reply
@steve-the-edwards
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@steve-the-edwards
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
enhancement New feature or request compose optimization Issues related to benchmarking and optimization
4 participants