Open vedhav opened 1 year ago
@vedhav Can you add a reprex for this?
Thanks, Fede. Added an example in the description.
My question is if it works without the use of use_gosling()
, Could we make a way for it to work during the init without the need for an additional function? It would be the most ideal way for the users to use shiny.gosling
.
use_gosling
seems to do something else than what the document suggests "Add this function at the beginning of ui. This is needed for gosling to work in shiny plots." If this functionality is true the plot should not be rendered when you do not use theuse_gosling()
in the UI. But it works after some reactivity triggers the gosling plot. So it seems like this function is making sure that the gosling plot is rendered during init or something similar because the gosling plot does not render when theuse_gosling()
is removed.For example, if you remove the
use_gosling()
from the multiTrackApp example you can see that the graphs are not rendered but after changing some input the graphs start to get rendered.