The concept of reactivity

Reactivity is the main concept that underlies the Shiny structure. Basically, this means that an object changes depending on the changes of another object. This concept is intimately related to the input/output relationship. In other words, the output object reacts (changes) whenever the input changes.

For example, let's think of an application that counts the number of words in the phrase that has been passed. It would look similar to this:

The concept of reactivity

In this case, whenever the phrase passed to the textbox changes, the text below the textbox changes. The reaction process automatically and instantly occurs by default. This means that, ...

Get Learning Shiny now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.