Home > front end >  What is "Theme Counter" in r shiny reactive log graphics generated by {reactlog}?
What is "Theme Counter" in r shiny reactive log graphics generated by {reactlog}?

Time:04-12

The reactlog::reactlog_enable() function generates an input node called "Theme Counter". Does anybody know what that is representing and where it is documented?

CodePudding user response:

It's a reactiveVal defined here which is used to create a reactive dependency when setCurrentTheme is called for the according shiny session.

setCurrentTheme is described as follows:

  # This function does three things: (1) sets theme as the current
  # bootstrapTheme, (2) re-executes any registered theme dependencies, and
  # (3) sends the resulting dependencies to the client.
  • Related