Skip to content

Commit 8e5d20a

Browse files
Update workflow-runtime/src/commonMain/kotlin/com/squareup/workflow1/RuntimeConfig.kt
Co-authored-by: Ray Ryan <[email protected]>
1 parent c14c54d commit 8e5d20a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

workflow-runtime/src/commonMain/kotlin/com/squareup/workflow1/RuntimeConfig.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public enum class RuntimeConfigOptions {
4646
* Otherwise return the cached rendering (as there is no way it could have changed).
4747
*
4848
* Note however that you must be careful using this because there may be external
49-
* state that your Workflow's draw in and re-render and if that is not explicitly
50-
* tracked within that Workflow's state, then it will not re-render. In this case,
51-
* make sure that the state is tracked within the Workflow's state (even through
52-
* an artificial token) in some way.
49+
* state that your Workflow draws in and re-renders, and if that is not explicitly
50+
* tracked within that Workflow's state then the Workflow will not re-render.
51+
* In this case make sure that the implicit state is tracked within the Workflow's
52+
* `StateT` in some way, even if only via a hash token.
5353
*/
5454
@WorkflowExperimentalRuntime
5555
PARTIAL_TREE_RENDERING,

0 commit comments

Comments
 (0)