in relation to the related thread; I did raise an issue on the shiny/github enquiring as to best practice and how to work in this space; but seem to have no traction; perhaps if others with similar concerns add to my issue this would raise its profile.
I don't know what version of shiny you are on but this is not working for me.
START traceback ---------------------------------------------------------
No traceback available
NULL
END traceback -----------------------------------------------------------
In fact, to the best of my understanding, this is the default already it seems, see code.