3.5 The reactive graph

  • understanding order of execution
  • code is only run when needed

Reactive graph

  • describes how inputs and outputs are connected
  • is a diagram identifying the reactive dependencies
  • describe this relationship (output has a reactive dependency on input)

A reactive graph is a powerful tool for understanding how your app works.
- Make by hand
- Use DiagrammeR pkg to make it manually yourself
- Use reactlog package to do it automatically (more in later chapters)