This small Shiny application demonstrates Shiny's automatic UI updates.
Move the Number of bins slider and notice how the renderPlot
expression is automatically re-evaluated when its dependant, input$bins
, changes, causing a histogram with a new number of bins to be rendered.