You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compose function was originally called render in the Swift implementation. After much discussion, we decided to rename to compose to avoid suggesting too strong an association with UI (it can return screen data, but can also be any arbitrary value).
However, this is dumb for a few reasons:
we're still calling the typeRendering
"render" is a much more specific verb to represent this specific concept than the super-generic "compose"
It turns out Swift never actually got around to renaming everything anyway.
For these reasons, I propose renaming the State{ful|less}Workflow.compose method back to render.
The
compose
function was originally calledrender
in the Swift implementation. After much discussion, we decided to rename tocompose
to avoid suggesting too strong an association with UI (it can return screen data, but can also be any arbitrary value).However, this is dumb for a few reasons:
Rendering
For these reasons, I propose renaming the
State{ful|less}Workflow.compose
method back torender
.The text was updated successfully, but these errors were encountered: