Allow runningWorker
/ renderChild
handlers to return null and avoid re-render.
#915
Labels
runningWorker
/ renderChild
handlers to return null and avoid re-render.
#915
The only way a handler can no-op is by returning
noAction()
or equivalent, which means every time any worker or child workflow fires a render pass must happen. We've talked about noticing when state and output are not changed, and avoiding re-render at that point, but defining "changed" is daunting, and it's very late in the game for such a semantic shift. But allowing an explicitnull
return should be easy and safe.Should deprecate
noAction()
at the same time.The text was updated successfully, but these errors were encountered: