Skip to content

Commit

Permalink
cohort 7, chapter 11
Browse files Browse the repository at this point in the history
simply fixed a couple of my typos
  • Loading branch information
dsollberger committed Aug 13, 2024
1 parent 34642da commit 100067e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions 11-bookmarking.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,14 @@ server <- function(input, output, session) {

## Refined App

## Prototype App

* [Hadley's example (Shiny app)](https://hadley.shinyapps.io/ms-bookmark-auto/)

![Lissajous Curve App](images/11-bookmarking/pendulum.png)


## Storing a richer state

URL bookmarking is simple and works everywhere you may want to deploy your Shiny app however, could become very long if you have a large number of inputs. If this is the case, it may be better to store your state on the server side.
URL bookmarking is simple and works everywhere you may want to deploy. Your Shiny app however, could become very long if you have a large number of inputs. If this is the case, it may be better to store your state on the server side.

Shiny saves the state of your app in an `.rds` file on the server and generates a shorter and easier URL. To do this, you can simply change the `enableBookmarking` argument to be "server" instead of "url"

Expand Down

0 comments on commit 100067e

Please sign in to comment.