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
For a basic app that would provide a set of tools to end users I am attempting to modularize a ui.navset_pill_list / ui.nav_panel layout. Essentially a sidbar with listed tools that provide informatics functionality.
When I attempt to modularize (using expressify) it seems the reactivity based on inputs defined is lost - I may not be understanding the expressify decorator 100%.
I found Shiny Modules and the module decorator works perfectly for what I needed. I either missed it or it wasn't yet in the docs when I was looking for a solution. https://shiny.posit.co/py/docs/modules.html
edit: I missed to say, this is a great feature and I really like the approach to decorate and have the (input, output, session) parameters available.
Uh oh!
There was an error while loading. Please reload this page.
For a basic app that would provide a set of tools to end users I am attempting to modularize a ui.navset_pill_list / ui.nav_panel layout. Essentially a sidbar with listed tools that provide informatics functionality.
When I attempt to modularize (using expressify) it seems the reactivity based on inputs defined is lost - I may not be understanding the expressify decorator 100%.
Without Modularization
The below does seem to work if I keep the tool1 function in the app module
Modularization attempt
The text was updated successfully, but these errors were encountered: