Why reactive programming in Shiny?

  • The problem
    • We want to keep sync inputs & outputs
    • But we need to minimize the computation
  • The solution
    • Outputs and reactive expressions change if and only if their inputs change