O'Reilly logo

Learning Shiny by Hernán G. Resnizky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required