Quick review of chapter 3 Basic reactivity

  • Imperative (most of R) vs declarative (shiny)
  • Lazyness, only do what is necessary but could be difficult to debug
  • The reactive graph notation:
  • Execution order is not top to bottom but determined by the reactive graph
  • Reactive expressions with reactive()
  • Observers with observeEvent()