Types of Reactive Values

reactiveVal() reactiveValues()
Holds A single reactive value A list of reactive values
Definition x <- reactiveVal(1) x <- reactiveValues(a = 1, b = 2)
Getting syntax x() x$a
Setting syntax x(2) x$a <- 2
Class reactiveVal reactive function reactivevalues