Reactivity in RShiny

RShiny uses a reactive programming coding pattern, which makes applications responsive. In reactive programming, there are basically three elements:

  • Reactive Source
  • Reactive Endpoint
  • Reactive Conductor

The combination of these elements is what makes a Shiny app more responsive. Let's have a look in more detail at how they work:

  • Reactive Source: The reactive source is the input objecting the Shiny app. It takes the input from the user and keeps it in the Input object. The Input object is associated with any UI element, with which the user interacts and provides input. It can be an input box, an action button, an interactive table or plot, or any other UI component. For example, if we take input from a text box named ...

Get Web Application Development with R Using Shiny - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.