This PR introduces internal housekeeping of the shiny output load-state. This is designed to ensure that when dynamic outputs are possibly recreated and thus shiny:value or shiny:error events are fired before the spinner element enters the DOM, then no ghosting (i.e. infinitely lived spinner) occurs.
This PR introduces internal housekeeping of the shiny output load-state. This is designed to ensure that when dynamic outputs are possibly recreated and thus
shiny:value
orshiny:error
events are fired before the spinner element enters the DOM, then no ghosting (i.e. infinitely lived spinner) occurs.