R/state.R
state.Rd
A way of defining state for a shiny application. Alternative to shiny::reactiveValues().
shiny::reactiveValues()
state(value = NULL, type = NULL, allow_null = FALSE)
Initial value of the state
The expected class
Is it allowed for the value to be NULL?