When trying to create a simple shinyapp with two selectInput inputs where the second one depends dynamically on the first, I notice that code that works fine with regular shiny fails when the app is exported using r-shinylive.
If the file above is app.R in folder app00/, the following does not work as intended
shinylive::export("app00/", "site")
httpuv::runStaticServer("site/")
When trying to create a simple shinyapp with two selectInput inputs where the second one depends dynamically on the first, I notice that code that works fine with regular shiny fails when the app is exported using r-shinylive.
This behavior can be reproduced using Hadley Wickham's example from Mastering Shiny below:
If the file above is app.R in folder app00/, the following does not work as intended shinylive::export("app00/", "site") httpuv::runStaticServer("site/")
while this does: shiny::runApp("app00")
Any ideas on what may be causing this?
Running the following: