How can I reactively update the active menuItem in a Shiny app using `renderUI`?
问题 I am building a shiny app that dynamically creates reactive bs4Box elements from a data frame. I want to make those boxes clickable by the user so that automatic redirection to a different menuItem occurs. I have read and followed similar previous SO questions like this one or this issue without success. A JavaScript solution like this one could also work? Here's my attempt so far using the updatebs4ControlbarMenu function: library(shiny) #> Warning: package 'shiny' was built under R version