Reference Semantics (shiny)
If you are working in the server function of the app.
library(shiny)
reactiveConsole(TRUE)
You can copy the value of a reactive value to new object.
b1 <- reactiveValues(x = 10)
b2 <- b1
But if you change the original reactive variable.
Then the copy also changes.
## [1] 20