Skip to content

Make better use of existing shiny classes #20

@jankowtf

Description

@jankowtf

Better understand the interaction between the classes shiny::ReactiveValues, shiny::Observable and shiny::Context with respect to invalidation (fields .invalidated and associated functions).

As currently only a modified version of shiny::Observable is used, there still needs to be this manual distinction to be made in setShinyReactive():

if (o$.invalidated) {
  out <- o$getValue()
} else {
  out <- o$.updateValue()
}

This feels wrong and might also lead to inconsistencies when trying to integrate reactive objects set by setShinyReactive() in the shiny workflow.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions