Closed pardom closed 5 years ago
In the case where an effect dispatches a message before the render call, it may render the state for the effect before rendering the prior state.
In this example, a delay was added to workaround the bug:
delay
https://github.com/pardom/dice/blob/master/common/src/commonMain/kotlin/dev/pardo/dice/app/Dice.kt#L50
In the case where an effect dispatches a message before the render call, it may render the state for the effect before rendering the prior state.
In this example, a
delay
was added to workaround the bug:https://github.com/pardom/dice/blob/master/common/src/commonMain/kotlin/dev/pardo/dice/app/Dice.kt#L50