The widget should wait for all its inputs to be set before triggering the first update, to avoid errors that occur because some of the inputs are undefined. Right now mitigating this requires adding if blocks in the onUpdate callback to check whether inputs are set.
The widget should wait for all its inputs to be set before triggering the first update, to avoid errors that occur because some of the inputs are
undefined
. Right now mitigating this requires addingif
blocks in theonUpdate
callback to check whether inputs are set.