Lecture 30
College of Idaho
CSCI 2025 - Winter 2026
bookmarkButton().enableBookmarking = "url".Note: ui must be a function that takes request as an argument.
input.session$doBookmark().onBookmarked to update the query string.enableBookmarking = "server":
?_state_id=123).input isn’t enough (e.g., you have reactiveValues to save).onBookmark(function(state) { ... }): Save extra data to state$values.onRestore(function(state) { ... }): Read data from state$values and restore reactiveValues.ui <- function(request) { ... } is required."url": State in URL (portable, limited size)."server": State on server (short URL, requires storage).onBookmarked(updateQueryString) for seamless experience.