shiny
htmltools
req()
seq()
on.exit()
observe()
isolate
observeEvent
eventReactive
reactiveTimer()
invalidateLater(ms)
git
We need to use the shiny::NS() function to define the ids.
shiny::NS()
histogramUI <- function(id) { ns <- NS(id) tagList( selectInput(ns("var"), "Variable", choices = names(mtcars)), numericInput(ns("bins"), "bins", value = 10, min = 1), plotOutput(ns("hist")) ) }