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 txtbox in the UI code, we can say that input$txtbox is the reactive source.
- Reactive Endpoint: The reactive endpoint is the output object...