You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed: switch_page function "moved out" of server function.
And there's explanation like below
"We could of course add session to the arguments of the function:"
However, the code is not much different as explained. (session is not mentioned in code)
Since shiny's updated version (updateTabesetPanel()) use session with getDefaultReactiveDomain() as default parameter.
So I suggest to mention like below and why session parameter didn't used to avoid confusion.
We could of course add session to the arguments of the function:
But this feels weird as the function is still fundamentally coupled to this app because it only affects a control named “wizard” with a very specific set of tabs.
Thanks.
The text was updated successfully, but these errors were encountered:
In internal functions.
There's example code with separate shiny internal function.
before
after
Changed:
switch_page
function "moved out" ofserver
function.And there's explanation like below
However, the code is not much different as explained. (
session
is not mentioned in code)Since shiny's updated version (
updateTabesetPanel()
) usesession
withgetDefaultReactiveDomain()
as default parameter.So I suggest to mention like below and why session parameter didn't used to avoid confusion.
We could of course add
session
to the arguments of the function:However, since shiny > 1.6 uses update- function (like updateTabsetPanel) uses
session
as default pameter,we can skip the
session
like belowBut this feels weird as the function is still fundamentally coupled to this app because it only affects a control named “wizard” with a very specific set of tabs.
Thanks.
The text was updated successfully, but these errors were encountered: